blob: 721aeead0054e81373f82d408943c88097d6b9e7 [file] [log] [blame]
LoopDawg4425f242018-02-18 11:40:01 -07001hlsl.imagefetch-subvec4.comp
2Shader version: 500
3local_size = (8, 8, 8)
40:? Sequence
50:6 Function Definition: @main(vu3; ( temp void)
60:6 Function Parameters:
70:6 'tid' ( in 3-component vector of uint)
80:? Sequence
90:7 Sequence
100:7 move second child to first child ( temp uint)
110:7 'storeTemp' ( temp uint)
120:7 Convert int to uint ( temp uint)
130:7 textureFetch ( temp int)
140:7 'IN' (layout( binding=0) uniform itexture3D)
150:7 'tid' ( in 3-component vector of uint)
160:7 Constant:
170:7 0 (const int)
180:7 imageStore ( temp void)
190:7 'OUT' (layout( binding=1 r32ui) uniform uimage3D)
200:7 'tid' ( in 3-component vector of uint)
210:7 'storeTemp' ( temp uint)
220:7 'storeTemp' ( temp uint)
230:6 Function Definition: main( ( temp void)
240:6 Function Parameters:
250:? Sequence
260:6 move second child to first child ( temp 3-component vector of uint)
270:? 'tid' ( temp 3-component vector of uint)
280:? 'tid' ( in 3-component vector of uint GlobalInvocationID)
290:6 Function Call: @main(vu3; ( temp void)
300:? 'tid' ( temp 3-component vector of uint)
310:? Linker Objects
320:? 'IN' (layout( binding=0) uniform itexture3D)
330:? 'OUT' (layout( binding=1 r32ui) uniform uimage3D)
340:? 'tid' ( in 3-component vector of uint GlobalInvocationID)
35
36
37Linked compute stage:
38
39
40Shader version: 500
41local_size = (8, 8, 8)
420:? Sequence
430:6 Function Definition: @main(vu3; ( temp void)
440:6 Function Parameters:
450:6 'tid' ( in 3-component vector of uint)
460:? Sequence
470:7 Sequence
480:7 move second child to first child ( temp uint)
490:7 'storeTemp' ( temp uint)
500:7 Convert int to uint ( temp uint)
510:7 textureFetch ( temp int)
520:7 'IN' (layout( binding=0) uniform itexture3D)
530:7 'tid' ( in 3-component vector of uint)
540:7 Constant:
550:7 0 (const int)
560:7 imageStore ( temp void)
570:7 'OUT' (layout( binding=1 r32ui) uniform uimage3D)
580:7 'tid' ( in 3-component vector of uint)
590:7 'storeTemp' ( temp uint)
600:7 'storeTemp' ( temp uint)
610:6 Function Definition: main( ( temp void)
620:6 Function Parameters:
630:? Sequence
640:6 move second child to first child ( temp 3-component vector of uint)
650:? 'tid' ( temp 3-component vector of uint)
660:? 'tid' ( in 3-component vector of uint GlobalInvocationID)
670:6 Function Call: @main(vu3; ( temp void)
680:? 'tid' ( temp 3-component vector of uint)
690:? Linker Objects
700:? 'IN' (layout( binding=0) uniform itexture3D)
710:? 'OUT' (layout( binding=1 r32ui) uniform uimage3D)
720:? 'tid' ( in 3-component vector of uint GlobalInvocationID)
73
74// Module Version 10000
John Kessenichd6c97552018-06-04 15:33:31 -060075// Generated by (magic number): 80007
LoopDawg4425f242018-02-18 11:40:01 -070076// Id's are bound by 39
77
78 Capability Shader
79 1: ExtInstImport "GLSL.std.450"
80 MemoryModel Logical GLSL450
81 EntryPoint GLCompute 4 "main" 34
82 ExecutionMode 4 LocalSize 8 8 8
83 Source HLSL 500
84 Name 4 "main"
85 Name 11 "@main(vu3;"
86 Name 10 "tid"
87 Name 14 "storeTemp"
88 Name 18 "IN"
89 Name 28 "OUT"
90 Name 32 "tid"
91 Name 34 "tid"
92 Name 36 "param"
93 Decorate 18(IN) DescriptorSet 0
94 Decorate 18(IN) Binding 0
95 Decorate 28(OUT) DescriptorSet 0
96 Decorate 28(OUT) Binding 1
97 Decorate 34(tid) BuiltIn GlobalInvocationId
98 2: TypeVoid
99 3: TypeFunction 2
100 6: TypeInt 32 0
101 7: TypeVector 6(int) 3
102 8: TypePointer Function 7(ivec3)
103 9: TypeFunction 2 8(ptr)
104 13: TypePointer Function 6(int)
105 15: TypeInt 32 1
106 16: TypeImage 15(int) 3D sampled format:Unknown
107 17: TypePointer UniformConstant 16
108 18(IN): 17(ptr) Variable UniformConstant
109 21: 15(int) Constant 0
110 22: TypeVector 15(int) 4
111 26: TypeImage 6(int) 3D nonsampled format:R32ui
112 27: TypePointer UniformConstant 26
113 28(OUT): 27(ptr) Variable UniformConstant
114 33: TypePointer Input 7(ivec3)
115 34(tid): 33(ptr) Variable Input
116 4(main): 2 Function None 3
117 5: Label
118 32(tid): 8(ptr) Variable Function
119 36(param): 8(ptr) Variable Function
120 35: 7(ivec3) Load 34(tid)
121 Store 32(tid) 35
122 37: 7(ivec3) Load 32(tid)
123 Store 36(param) 37
124 38: 2 FunctionCall 11(@main(vu3;) 36(param)
125 Return
126 FunctionEnd
127 11(@main(vu3;): 2 Function None 9
128 10(tid): 8(ptr) FunctionParameter
129 12: Label
130 14(storeTemp): 13(ptr) Variable Function
131 19: 16 Load 18(IN)
132 20: 7(ivec3) Load 10(tid)
133 23: 22(ivec4) ImageFetch 19 20 Lod 21
134 24: 15(int) CompositeExtract 23 0
135 25: 6(int) Bitcast 24
136 Store 14(storeTemp) 25
137 29: 26 Load 28(OUT)
138 30: 7(ivec3) Load 10(tid)
139 31: 6(int) Load 14(storeTemp)
140 ImageWrite 29 30 31
141 Return
142 FunctionEnd