1hlsl.groupid.comp
2Shader version: 500
3local_size = (8, 8, 1)
40:? Sequence
50:7  Function Definition: @main(vu2; ( temp void)
60:7    Function Parameters:
70:7      'vGroupId' ( in 2-component vector of uint)
80:?     Sequence
90:8      Sequence
100:8        move second child to first child ( temp 4-component vector of float)
110:8          'storeTemp' ( temp 4-component vector of float)
120:?           Constant:
130:?             1.000000
140:?             0.000000
150:?             0.000000
160:?             1.000000
170:8        imageStore ( temp void)
180:8          'OutputTexture' (layout( rgba32f) uniform image2D)
190:8          vector swizzle ( temp 2-component vector of uint)
200:8            'vGroupId' ( in 2-component vector of uint)
210:8            Sequence
220:8              Constant:
230:8                0 (const int)
240:8              Constant:
250:8                1 (const int)
260:8          'storeTemp' ( temp 4-component vector of float)
270:8        'storeTemp' ( temp 4-component vector of float)
280:7  Function Definition: main( ( temp void)
290:7    Function Parameters:
300:?     Sequence
310:7      move second child to first child ( temp 2-component vector of uint)
320:?         'vGroupId' ( temp 2-component vector of uint)
330:?         Construct uvec2 ( temp 2-component vector of uint)
340:?           'vGroupId' ( in 3-component vector of uint WorkGroupID)
350:7      Function Call: @main(vu2; ( temp void)
360:?         'vGroupId' ( temp 2-component vector of uint)
370:?   Linker Objects
380:?     'OutputTexture' (layout( rgba32f) uniform image2D)
390:?     'vGroupId' ( in 3-component vector of uint WorkGroupID)
40
41
42Linked compute stage:
43
44
45Shader version: 500
46local_size = (8, 8, 1)
470:? Sequence
480:7  Function Definition: @main(vu2; ( temp void)
490:7    Function Parameters:
500:7      'vGroupId' ( in 2-component vector of uint)
510:?     Sequence
520:8      Sequence
530:8        move second child to first child ( temp 4-component vector of float)
540:8          'storeTemp' ( temp 4-component vector of float)
550:?           Constant:
560:?             1.000000
570:?             0.000000
580:?             0.000000
590:?             1.000000
600:8        imageStore ( temp void)
610:8          'OutputTexture' (layout( rgba32f) uniform image2D)
620:8          vector swizzle ( temp 2-component vector of uint)
630:8            'vGroupId' ( in 2-component vector of uint)
640:8            Sequence
650:8              Constant:
660:8                0 (const int)
670:8              Constant:
680:8                1 (const int)
690:8          'storeTemp' ( temp 4-component vector of float)
700:8        'storeTemp' ( temp 4-component vector of float)
710:7  Function Definition: main( ( temp void)
720:7    Function Parameters:
730:?     Sequence
740:7      move second child to first child ( temp 2-component vector of uint)
750:?         'vGroupId' ( temp 2-component vector of uint)
760:?         Construct uvec2 ( temp 2-component vector of uint)
770:?           'vGroupId' ( in 3-component vector of uint WorkGroupID)
780:7      Function Call: @main(vu2; ( temp void)
790:?         'vGroupId' ( temp 2-component vector of uint)
800:?   Linker Objects
810:?     'OutputTexture' (layout( rgba32f) uniform image2D)
820:?     'vGroupId' ( in 3-component vector of uint WorkGroupID)
83
84// Module Version 10000
85// Generated by (magic number): 80007
86// Id's are bound by 37
87
88                              Capability Shader
89               1:             ExtInstImport  "GLSL.std.450"
90                              MemoryModel Logical GLSL450
91                              EntryPoint GLCompute 4  "main" 29
92                              ExecutionMode 4 LocalSize 8 8 1
93                              Source HLSL 500
94                              Name 4  "main"
95                              Name 11  "@main(vu2;"
96                              Name 10  "vGroupId"
97                              Name 16  "storeTemp"
98                              Name 22  "OutputTexture"
99                              Name 26  "vGroupId"
100                              Name 29  "vGroupId"
101                              Name 34  "param"
102                              Decorate 22(OutputTexture) DescriptorSet 0
103                              Decorate 29(vGroupId) BuiltIn WorkgroupId
104               2:             TypeVoid
105               3:             TypeFunction 2
106               6:             TypeInt 32 0
107               7:             TypeVector 6(int) 2
108               8:             TypePointer Function 7(ivec2)
109               9:             TypeFunction 2 8(ptr)
110              13:             TypeFloat 32
111              14:             TypeVector 13(float) 4
112              15:             TypePointer Function 14(fvec4)
113              17:   13(float) Constant 1065353216
114              18:   13(float) Constant 0
115              19:   14(fvec4) ConstantComposite 17 18 18 17
116              20:             TypeImage 13(float) 2D nonsampled format:Rgba32f
117              21:             TypePointer UniformConstant 20
11822(OutputTexture):     21(ptr) Variable UniformConstant
119              27:             TypeVector 6(int) 3
120              28:             TypePointer Input 27(ivec3)
121    29(vGroupId):     28(ptr) Variable Input
122         4(main):           2 Function None 3
123               5:             Label
124    26(vGroupId):      8(ptr) Variable Function
125       34(param):      8(ptr) Variable Function
126              30:   27(ivec3) Load 29(vGroupId)
127              31:      6(int) CompositeExtract 30 0
128              32:      6(int) CompositeExtract 30 1
129              33:    7(ivec2) CompositeConstruct 31 32
130                              Store 26(vGroupId) 33
131              35:    7(ivec2) Load 26(vGroupId)
132                              Store 34(param) 35
133              36:           2 FunctionCall 11(@main(vu2;) 34(param)
134                              Return
135                              FunctionEnd
136  11(@main(vu2;):           2 Function None 9
137    10(vGroupId):      8(ptr) FunctionParameter
138              12:             Label
139   16(storeTemp):     15(ptr) Variable Function
140                              Store 16(storeTemp) 19
141              23:          20 Load 22(OutputTexture)
142              24:    7(ivec2) Load 10(vGroupId)
143              25:   14(fvec4) Load 16(storeTemp)
144                              ImageWrite 23 24 25
145                              Return
146                              FunctionEnd
147