SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl).
This commit is contained in:
@@ -7,7 +7,7 @@ Linked compute stage:
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 62
|
||||
// Id's are bound by 60
|
||||
|
||||
Capability Shader
|
||||
Capability Float64
|
||||
@@ -27,12 +27,14 @@ Linked compute stage:
|
||||
Name 33 "gl_LocalInvocationID"
|
||||
Name 49 "aa"
|
||||
Name 54 "globalCoef"
|
||||
Name 58 "roll"
|
||||
Name 61 "destTex"
|
||||
Decorate 8(bufName) GLSLShared
|
||||
Name 59 "destTex"
|
||||
MemberDecorate 8(bufName) 0 Offset 0
|
||||
MemberDecorate 8(bufName) 1 Offset 8
|
||||
Decorate 8(bufName) BufferBlock
|
||||
Decorate 10(bufInst) DescriptorSet 0
|
||||
Decorate 26(gl_GlobalInvocationID) BuiltIn GlobalInvocationId
|
||||
Decorate 33(gl_LocalInvocationID) BuiltIn LocalInvocationId
|
||||
Decorate 59(destTex) DescriptorSet 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
@@ -67,11 +69,9 @@ Linked compute stage:
|
||||
53: 47(fvec4) ConstantComposite 50 51 52 50
|
||||
55: 7(float) Constant 0 1072693248
|
||||
56: 7(float) Constant 3229815407 1074340298
|
||||
57: TypePointer UniformConstant 7(float)
|
||||
58(roll): 57(ptr) Variable UniformConstant
|
||||
59: TypeImage 6(float) 2D nonsampled format:Unknown
|
||||
60: TypePointer UniformConstant 59
|
||||
61(destTex): 60(ptr) Variable UniformConstant
|
||||
57: TypeImage 6(float) 2D nonsampled format:Unknown
|
||||
58: TypePointer UniformConstant 57
|
||||
59(destTex): 58(ptr) Variable UniformConstant
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
22(storePos): 21(ptr) Variable Function
|
||||
|
||||
Reference in New Issue
Block a user