1hlsl.snorm.uav.comp
2Shader version: 500
3local_size = (16, 16, 1)
40:? Sequence
50:12  Function Definition: @main(vu3; ( temp void)
60:12    Function Parameters:
70:12      'tid' ( in 3-component vector of uint)
80:?     Sequence
90:13      Sequence
100:13        move second child to first child ( temp 4-component vector of float)
110:13          'storeTemp' ( temp 4-component vector of float)
120:13          add ( temp 4-component vector of float)
130:13            textureFetch ( temp 4-component vector of float)
140:13              'ResultInS' (layout( binding=1) uniform texture3D)
150:13              'tid' ( in 3-component vector of uint)
160:13              Constant:
170:13                0 (const int)
180:13            uf4: direct index for structure ( uniform 4-component vector of float)
190:13              'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float uf4})
200:13              Constant:
210:13                0 (const uint)
220:13        imageStore ( temp void)
230:13          'ResultOutS' (layout( binding=1 rgba32f) uniform image3D)
240:13          'tid' ( in 3-component vector of uint)
250:13          'storeTemp' ( temp 4-component vector of float)
260:13        'storeTemp' ( temp 4-component vector of float)
270:14      Sequence
280:14        move second child to first child ( temp 4-component vector of float)
290:14          'storeTemp' ( temp 4-component vector of float)
300:14          textureFetch ( temp 4-component vector of float)
310:14            'ResultInU' (layout( binding=0) uniform texture3D)
320:14            'tid' ( in 3-component vector of uint)
330:14            Constant:
340:14              0 (const int)
350:14        imageStore ( temp void)
360:14          'ResultOutU' (layout( binding=0 rgba32f) uniform image3D)
370:14          'tid' ( in 3-component vector of uint)
380:14          'storeTemp' ( temp 4-component vector of float)
390:14        'storeTemp' ( temp 4-component vector of float)
400:12  Function Definition: main( ( temp void)
410:12    Function Parameters:
420:?     Sequence
430:12      move second child to first child ( temp 3-component vector of uint)
440:?         'tid' ( temp 3-component vector of uint)
450:?         'tid' ( in 3-component vector of uint GlobalInvocationID)
460:12      Function Call: @main(vu3; ( temp void)
470:?         'tid' ( temp 3-component vector of uint)
480:?   Linker Objects
490:?     'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float uf4})
500:?     'ResultInU' (layout( binding=0) uniform texture3D)
510:?     'ResultOutU' (layout( binding=0 rgba32f) uniform image3D)
520:?     'ResultInS' (layout( binding=1) uniform texture3D)
530:?     'ResultOutS' (layout( binding=1 rgba32f) uniform image3D)
540:?     'tid' ( in 3-component vector of uint GlobalInvocationID)
55
56
57Linked compute stage:
58
59
60Shader version: 500
61local_size = (16, 16, 1)
620:? Sequence
630:12  Function Definition: @main(vu3; ( temp void)
640:12    Function Parameters:
650:12      'tid' ( in 3-component vector of uint)
660:?     Sequence
670:13      Sequence
680:13        move second child to first child ( temp 4-component vector of float)
690:13          'storeTemp' ( temp 4-component vector of float)
700:13          add ( temp 4-component vector of float)
710:13            textureFetch ( temp 4-component vector of float)
720:13              'ResultInS' (layout( binding=1) uniform texture3D)
730:13              'tid' ( in 3-component vector of uint)
740:13              Constant:
750:13                0 (const int)
760:13            uf4: direct index for structure ( uniform 4-component vector of float)
770:13              'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float uf4})
780:13              Constant:
790:13                0 (const uint)
800:13        imageStore ( temp void)
810:13          'ResultOutS' (layout( binding=1 rgba32f) uniform image3D)
820:13          'tid' ( in 3-component vector of uint)
830:13          'storeTemp' ( temp 4-component vector of float)
840:13        'storeTemp' ( temp 4-component vector of float)
850:14      Sequence
860:14        move second child to first child ( temp 4-component vector of float)
870:14          'storeTemp' ( temp 4-component vector of float)
880:14          textureFetch ( temp 4-component vector of float)
890:14            'ResultInU' (layout( binding=0) uniform texture3D)
900:14            'tid' ( in 3-component vector of uint)
910:14            Constant:
920:14              0 (const int)
930:14        imageStore ( temp void)
940:14          'ResultOutU' (layout( binding=0 rgba32f) uniform image3D)
950:14          'tid' ( in 3-component vector of uint)
960:14          'storeTemp' ( temp 4-component vector of float)
970:14        'storeTemp' ( temp 4-component vector of float)
980:12  Function Definition: main( ( temp void)
990:12    Function Parameters:
1000:?     Sequence
1010:12      move second child to first child ( temp 3-component vector of uint)
1020:?         'tid' ( temp 3-component vector of uint)
1030:?         'tid' ( in 3-component vector of uint GlobalInvocationID)
1040:12      Function Call: @main(vu3; ( temp void)
1050:?         'tid' ( temp 3-component vector of uint)
1060:?   Linker Objects
1070:?     'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float uf4})
1080:?     'ResultInU' (layout( binding=0) uniform texture3D)
1090:?     'ResultOutU' (layout( binding=0 rgba32f) uniform image3D)
1100:?     'ResultInS' (layout( binding=1) uniform texture3D)
1110:?     'ResultOutS' (layout( binding=1 rgba32f) uniform image3D)
1120:?     'tid' ( in 3-component vector of uint GlobalInvocationID)
113
114// Module Version 10000
115// Generated by (magic number): 8000a
116// Id's are bound by 54
117
118                              Capability Shader
119               1:             ExtInstImport  "GLSL.std.450"
120                              MemoryModel Logical GLSL450
121                              EntryPoint GLCompute 4  "main" 49
122                              ExecutionMode 4 LocalSize 16 16 1
123                              Source HLSL 500
124                              Name 4  "main"
125                              Name 11  "@main(vu3;"
126                              Name 10  "tid"
127                              Name 16  "storeTemp"
128                              Name 19  "ResultInS"
129                              Name 25  "$Global"
130                              MemberName 25($Global) 0  "uf4"
131                              Name 27  ""
132                              Name 34  "ResultOutS"
133                              Name 38  "storeTemp"
134                              Name 39  "ResultInU"
135                              Name 43  "ResultOutU"
136                              Name 47  "tid"
137                              Name 49  "tid"
138                              Name 51  "param"
139                              Decorate 19(ResultInS) DescriptorSet 0
140                              Decorate 19(ResultInS) Binding 1
141                              MemberDecorate 25($Global) 0 Offset 0
142                              Decorate 25($Global) Block
143                              Decorate 27 DescriptorSet 0
144                              Decorate 27 Binding 2
145                              Decorate 34(ResultOutS) DescriptorSet 0
146                              Decorate 34(ResultOutS) Binding 1
147                              Decorate 39(ResultInU) DescriptorSet 0
148                              Decorate 39(ResultInU) Binding 0
149                              Decorate 43(ResultOutU) DescriptorSet 0
150                              Decorate 43(ResultOutU) Binding 0
151                              Decorate 49(tid) BuiltIn GlobalInvocationId
152               2:             TypeVoid
153               3:             TypeFunction 2
154               6:             TypeInt 32 0
155               7:             TypeVector 6(int) 3
156               8:             TypePointer Function 7(ivec3)
157               9:             TypeFunction 2 8(ptr)
158              13:             TypeFloat 32
159              14:             TypeVector 13(float) 4
160              15:             TypePointer Function 14(fvec4)
161              17:             TypeImage 13(float) 3D sampled format:Unknown
162              18:             TypePointer UniformConstant 17
163   19(ResultInS):     18(ptr) Variable UniformConstant
164              22:             TypeInt 32 1
165              23:     22(int) Constant 0
166     25($Global):             TypeStruct 14(fvec4)
167              26:             TypePointer Uniform 25($Global)
168              27:     26(ptr) Variable Uniform
169              28:             TypePointer Uniform 14(fvec4)
170              32:             TypeImage 13(float) 3D nonsampled format:Rgba32f
171              33:             TypePointer UniformConstant 32
172  34(ResultOutS):     33(ptr) Variable UniformConstant
173   39(ResultInU):     18(ptr) Variable UniformConstant
174  43(ResultOutU):     33(ptr) Variable UniformConstant
175              48:             TypePointer Input 7(ivec3)
176         49(tid):     48(ptr) Variable Input
177         4(main):           2 Function None 3
178               5:             Label
179         47(tid):      8(ptr) Variable Function
180       51(param):      8(ptr) Variable Function
181              50:    7(ivec3) Load 49(tid)
182                              Store 47(tid) 50
183              52:    7(ivec3) Load 47(tid)
184                              Store 51(param) 52
185              53:           2 FunctionCall 11(@main(vu3;) 51(param)
186                              Return
187                              FunctionEnd
188  11(@main(vu3;):           2 Function None 9
189         10(tid):      8(ptr) FunctionParameter
190              12:             Label
191   16(storeTemp):     15(ptr) Variable Function
192   38(storeTemp):     15(ptr) Variable Function
193              20:          17 Load 19(ResultInS)
194              21:    7(ivec3) Load 10(tid)
195              24:   14(fvec4) ImageFetch 20 21 Lod 23
196              29:     28(ptr) AccessChain 27 23
197              30:   14(fvec4) Load 29
198              31:   14(fvec4) FAdd 24 30
199                              Store 16(storeTemp) 31
200              35:          32 Load 34(ResultOutS)
201              36:    7(ivec3) Load 10(tid)
202              37:   14(fvec4) Load 16(storeTemp)
203                              ImageWrite 35 36 37
204              40:          17 Load 39(ResultInU)
205              41:    7(ivec3) Load 10(tid)
206              42:   14(fvec4) ImageFetch 40 41 Lod 23
207                              Store 38(storeTemp) 42
208              44:          32 Load 43(ResultOutU)
209              45:    7(ivec3) Load 10(tid)
210              46:   14(fvec4) Load 38(storeTemp)
211                              ImageWrite 44 45 46
212                              Return
213                              FunctionEnd
214