SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl).
This commit is contained in:
@@ -12,8 +12,8 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 15 68 77 200
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
EntryPoint Fragment 4 "main" 15 68 77 200 202 204
|
||||
ExecutionMode 4 OriginUpperLeft
|
||||
Source ESSL 310
|
||||
Name 4 "main"
|
||||
Name 8 "count"
|
||||
@@ -63,6 +63,7 @@ Linked fragment stage:
|
||||
Decorate 62 RelaxedPrecision
|
||||
Decorate 68(c) RelaxedPrecision
|
||||
Decorate 72(usampler) RelaxedPrecision
|
||||
Decorate 72(usampler) DescriptorSet 0
|
||||
Decorate 73 RelaxedPrecision
|
||||
Decorate 77(tc) RelaxedPrecision
|
||||
Decorate 78 RelaxedPrecision
|
||||
@@ -139,7 +140,9 @@ Linked fragment stage:
|
||||
Decorate 198 RelaxedPrecision
|
||||
Decorate 200(f) RelaxedPrecision
|
||||
Decorate 202(v) RelaxedPrecision
|
||||
Decorate 202(v) Flat
|
||||
Decorate 204(i) RelaxedPrecision
|
||||
Decorate 204(i) Flat
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeInt 32 1
|
||||
@@ -192,12 +195,12 @@ Linked fragment stage:
|
||||
161: 10(int) Constant 2737
|
||||
199: TypePointer Input 74(float)
|
||||
200(f): 199(ptr) Variable Input
|
||||
201: TypePointer UniformConstant 66(ivec4)
|
||||
202(v): 201(ptr) Variable UniformConstant
|
||||
203: TypePointer UniformConstant 6(int)
|
||||
204(i): 203(ptr) Variable UniformConstant
|
||||
205: TypePointer UniformConstant 22(bool)
|
||||
206(b): 205(ptr) Variable UniformConstant
|
||||
201: TypePointer Input 66(ivec4)
|
||||
202(v): 201(ptr) Variable Input
|
||||
203: TypePointer Input 6(int)
|
||||
204(i): 203(ptr) Variable Input
|
||||
205: TypePointer Private 22(bool)
|
||||
206(b): 205(ptr) Variable Private
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
8(count): 7(ptr) Variable Function
|
||||
|
||||
Reference in New Issue
Block a user