1 hlsl.gather.basic.dx10.frag
3 gl_FragCoord origin is upper left
5 0:29 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
6 0:29 Function Parameters:
9 0:34 move second child to first child ( temp 4-component vector of float)
10 0:34 'txval20' ( temp 4-component vector of float)
11 0:34 textureGather ( temp 4-component vector of float)
12 0:34 Construct combined texture-sampler ( temp sampler2D)
13 0:34 'g_tTex2df4' ( uniform texture2D)
14 0:34 'g_sSamp' (layout( binding=0) uniform sampler)
19 0:35 move second child to first child ( temp 4-component vector of int)
20 0:35 'txval21' ( temp 4-component vector of int)
21 0:35 textureGather ( temp 4-component vector of int)
22 0:35 Construct combined texture-sampler ( temp isampler2D)
23 0:35 'g_tTex2di4' ( uniform itexture2D)
24 0:35 'g_sSamp' (layout( binding=0) uniform sampler)
29 0:36 move second child to first child ( temp 4-component vector of uint)
30 0:36 'txval22' ( temp 4-component vector of uint)
31 0:36 textureGather ( temp 4-component vector of uint)
32 0:36 Construct combined texture-sampler ( temp usampler2D)
33 0:36 'g_tTex2du4' ( uniform utexture2D)
34 0:36 'g_sSamp' (layout( binding=0) uniform sampler)
39 0:40 move second child to first child ( temp 4-component vector of float)
40 0:40 'txval40' ( temp 4-component vector of float)
41 0:40 textureGather ( temp 4-component vector of float)
42 0:40 Construct combined texture-sampler ( temp samplerCube)
43 0:40 'g_tTexcdf4' ( uniform textureCube)
44 0:40 'g_sSamp' (layout( binding=0) uniform sampler)
50 0:41 move second child to first child ( temp 4-component vector of int)
51 0:41 'txval41' ( temp 4-component vector of int)
52 0:41 textureGather ( temp 4-component vector of int)
53 0:41 Construct combined texture-sampler ( temp isamplerCube)
54 0:41 'g_tTexcdi4' ( uniform itextureCube)
55 0:41 'g_sSamp' (layout( binding=0) uniform sampler)
61 0:42 move second child to first child ( temp 4-component vector of uint)
62 0:42 'txval42' ( temp 4-component vector of uint)
63 0:42 textureGather ( temp 4-component vector of uint)
64 0:42 Construct combined texture-sampler ( temp usamplerCube)
65 0:42 'g_tTexcdu4' ( uniform utextureCube)
66 0:42 'g_sSamp' (layout( binding=0) uniform sampler)
71 0:44 move second child to first child ( temp 4-component vector of float)
72 0:44 Color: direct index for structure ( temp 4-component vector of float)
73 0:44 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
81 0:45 move second child to first child ( temp float)
82 0:45 Depth: direct index for structure ( temp float)
83 0:45 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
88 0:47 Branch: Return with expression
89 0:47 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
90 0:29 Function Definition: main( ( temp void)
91 0:29 Function Parameters:
94 0:29 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
95 0:29 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
96 0:29 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
97 0:29 move second child to first child ( temp 4-component vector of float)
98 0:? 'Color' (layout( location=0) out 4-component vector of float)
99 0:29 Color: direct index for structure ( temp 4-component vector of float)
100 0:29 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
103 0:29 move second child to first child ( temp float)
104 0:? 'Depth' ( out float FragDepth)
105 0:29 Depth: direct index for structure ( temp float)
106 0:29 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
110 0:? 'g_sSamp' (layout( binding=0) uniform sampler)
111 0:? 'g_sSamp2d' ( uniform sampler)
112 0:? 'g_tTex1df4a' (layout( binding=1) uniform texture1D)
113 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1D)
114 0:? 'g_tTex1di4' ( uniform itexture1D)
115 0:? 'g_tTex1du4' ( uniform utexture1D)
116 0:? 'g_tTex2df4' ( uniform texture2D)
117 0:? 'g_tTex2di4' ( uniform itexture2D)
118 0:? 'g_tTex2du4' ( uniform utexture2D)
119 0:? 'g_tTex3df4' ( uniform texture3D)
120 0:? 'g_tTex3di4' ( uniform itexture3D)
121 0:? 'g_tTex3du4' ( uniform utexture3D)
122 0:? 'g_tTexcdf4' ( uniform textureCube)
123 0:? 'g_tTexcdi4' ( uniform itextureCube)
124 0:? 'g_tTexcdu4' ( uniform utextureCube)
125 0:? 'Color' (layout( location=0) out 4-component vector of float)
126 0:? 'Depth' ( out float FragDepth)
129 Linked fragment stage:
133 gl_FragCoord origin is upper left
135 0:29 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
136 0:29 Function Parameters:
139 0:34 move second child to first child ( temp 4-component vector of float)
140 0:34 'txval20' ( temp 4-component vector of float)
141 0:34 textureGather ( temp 4-component vector of float)
142 0:34 Construct combined texture-sampler ( temp sampler2D)
143 0:34 'g_tTex2df4' ( uniform texture2D)
144 0:34 'g_sSamp' (layout( binding=0) uniform sampler)
149 0:35 move second child to first child ( temp 4-component vector of int)
150 0:35 'txval21' ( temp 4-component vector of int)
151 0:35 textureGather ( temp 4-component vector of int)
152 0:35 Construct combined texture-sampler ( temp isampler2D)
153 0:35 'g_tTex2di4' ( uniform itexture2D)
154 0:35 'g_sSamp' (layout( binding=0) uniform sampler)
159 0:36 move second child to first child ( temp 4-component vector of uint)
160 0:36 'txval22' ( temp 4-component vector of uint)
161 0:36 textureGather ( temp 4-component vector of uint)
162 0:36 Construct combined texture-sampler ( temp usampler2D)
163 0:36 'g_tTex2du4' ( uniform utexture2D)
164 0:36 'g_sSamp' (layout( binding=0) uniform sampler)
169 0:40 move second child to first child ( temp 4-component vector of float)
170 0:40 'txval40' ( temp 4-component vector of float)
171 0:40 textureGather ( temp 4-component vector of float)
172 0:40 Construct combined texture-sampler ( temp samplerCube)
173 0:40 'g_tTexcdf4' ( uniform textureCube)
174 0:40 'g_sSamp' (layout( binding=0) uniform sampler)
180 0:41 move second child to first child ( temp 4-component vector of int)
181 0:41 'txval41' ( temp 4-component vector of int)
182 0:41 textureGather ( temp 4-component vector of int)
183 0:41 Construct combined texture-sampler ( temp isamplerCube)
184 0:41 'g_tTexcdi4' ( uniform itextureCube)
185 0:41 'g_sSamp' (layout( binding=0) uniform sampler)
191 0:42 move second child to first child ( temp 4-component vector of uint)
192 0:42 'txval42' ( temp 4-component vector of uint)
193 0:42 textureGather ( temp 4-component vector of uint)
194 0:42 Construct combined texture-sampler ( temp usamplerCube)
195 0:42 'g_tTexcdu4' ( uniform utextureCube)
196 0:42 'g_sSamp' (layout( binding=0) uniform sampler)
201 0:44 move second child to first child ( temp 4-component vector of float)
202 0:44 Color: direct index for structure ( temp 4-component vector of float)
203 0:44 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
211 0:45 move second child to first child ( temp float)
212 0:45 Depth: direct index for structure ( temp float)
213 0:45 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
218 0:47 Branch: Return with expression
219 0:47 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
220 0:29 Function Definition: main( ( temp void)
221 0:29 Function Parameters:
224 0:29 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
225 0:29 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
226 0:29 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
227 0:29 move second child to first child ( temp 4-component vector of float)
228 0:? 'Color' (layout( location=0) out 4-component vector of float)
229 0:29 Color: direct index for structure ( temp 4-component vector of float)
230 0:29 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
233 0:29 move second child to first child ( temp float)
234 0:? 'Depth' ( out float FragDepth)
235 0:29 Depth: direct index for structure ( temp float)
236 0:29 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
240 0:? 'g_sSamp' (layout( binding=0) uniform sampler)
241 0:? 'g_sSamp2d' ( uniform sampler)
242 0:? 'g_tTex1df4a' (layout( binding=1) uniform texture1D)
243 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1D)
244 0:? 'g_tTex1di4' ( uniform itexture1D)
245 0:? 'g_tTex1du4' ( uniform utexture1D)
246 0:? 'g_tTex2df4' ( uniform texture2D)
247 0:? 'g_tTex2di4' ( uniform itexture2D)
248 0:? 'g_tTex2du4' ( uniform utexture2D)
249 0:? 'g_tTex3df4' ( uniform texture3D)
250 0:? 'g_tTex3di4' ( uniform itexture3D)
251 0:? 'g_tTex3du4' ( uniform utexture3D)
252 0:? 'g_tTexcdf4' ( uniform textureCube)
253 0:? 'g_tTexcdi4' ( uniform itextureCube)
254 0:? 'g_tTexcdu4' ( uniform utextureCube)
255 0:? 'Color' (layout( location=0) out 4-component vector of float)
256 0:? 'Depth' ( out float FragDepth)
258 // Module Version 10000
259 // Generated by (magic number): 80001
260 // Id's are bound by 135
264 1: ExtInstImport "GLSL.std.450"
265 MemoryModel Logical GLSL450
266 EntryPoint Fragment 4 "main" 108 112
267 ExecutionMode 4 OriginUpperLeft
270 MemberName 8(PS_OUTPUT) 0 "Color"
271 MemberName 8(PS_OUTPUT) 1 "Depth"
287 Name 105 "flattenTemp"
291 Name 118 "g_tTex1df4a"
292 Name 119 "g_tTex1df4"
293 Name 122 "g_tTex1di4"
294 Name 125 "g_tTex1du4"
295 Name 128 "g_tTex3df4"
296 Name 131 "g_tTex3di4"
297 Name 134 "g_tTex3du4"
298 Decorate 16(g_tTex2df4) DescriptorSet 0
299 Decorate 20(g_sSamp) DescriptorSet 0
300 Decorate 20(g_sSamp) Binding 0
301 Decorate 36(g_tTex2di4) DescriptorSet 0
302 Decorate 51(g_tTex2du4) DescriptorSet 0
303 Decorate 63(g_tTexcdf4) DescriptorSet 0
304 Decorate 74(g_tTexcdi4) DescriptorSet 0
305 Decorate 84(g_tTexcdu4) DescriptorSet 0
306 Decorate 108(Color) Location 0
307 Decorate 112(Depth) BuiltIn FragDepth
308 Decorate 115(g_sSamp2d) DescriptorSet 0
309 Decorate 118(g_tTex1df4a) DescriptorSet 0
310 Decorate 118(g_tTex1df4a) Binding 1
311 Decorate 119(g_tTex1df4) DescriptorSet 0
312 Decorate 119(g_tTex1df4) Binding 0
313 Decorate 122(g_tTex1di4) DescriptorSet 0
314 Decorate 125(g_tTex1du4) DescriptorSet 0
315 Decorate 128(g_tTex3df4) DescriptorSet 0
316 Decorate 131(g_tTex3di4) DescriptorSet 0
317 Decorate 134(g_tTex3du4) DescriptorSet 0
321 7: TypeVector 6(float) 4
322 8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float)
323 9: TypeFunction 8(PS_OUTPUT)
324 12: TypePointer Function 7(fvec4)
325 14: TypeImage 6(float) 2D sampled format:Unknown
326 15: TypePointer UniformConstant 14
327 16(g_tTex2df4): 15(ptr) Variable UniformConstant
329 19: TypePointer UniformConstant 18
330 20(g_sSamp): 19(ptr) Variable UniformConstant
331 22: TypeSampledImage 14
332 24: TypeVector 6(float) 2
333 25: 6(float) Constant 1036831949
334 26: 6(float) Constant 1045220557
335 27: 24(fvec2) ConstantComposite 25 26
337 29: 28(int) Constant 0
338 31: TypeVector 28(int) 4
339 32: TypePointer Function 31(ivec4)
340 34: TypeImage 28(int) 2D sampled format:Unknown
341 35: TypePointer UniformConstant 34
342 36(g_tTex2di4): 35(ptr) Variable UniformConstant
343 39: TypeSampledImage 34
344 41: 6(float) Constant 1050253722
345 42: 6(float) Constant 1053609165
346 43: 24(fvec2) ConstantComposite 41 42
348 46: TypeVector 45(int) 4
349 47: TypePointer Function 46(ivec4)
350 49: TypeImage 45(int) 2D sampled format:Unknown
351 50: TypePointer UniformConstant 49
352 51(g_tTex2du4): 50(ptr) Variable UniformConstant
353 54: TypeSampledImage 49
354 56: 6(float) Constant 1056964608
355 57: 6(float) Constant 1058642330
356 58: 24(fvec2) ConstantComposite 56 57
357 61: TypeImage 6(float) Cube sampled format:Unknown
358 62: TypePointer UniformConstant 61
359 63(g_tTexcdf4): 62(ptr) Variable UniformConstant
360 66: TypeSampledImage 61
361 68: TypeVector 6(float) 3
362 69: 68(fvec3) ConstantComposite 25 26 41
363 72: TypeImage 28(int) Cube sampled format:Unknown
364 73: TypePointer UniformConstant 72
365 74(g_tTexcdi4): 73(ptr) Variable UniformConstant
366 77: TypeSampledImage 72
367 79: 68(fvec3) ConstantComposite 42 56 57
368 82: TypeImage 45(int) Cube sampled format:Unknown
369 83: TypePointer UniformConstant 82
370 84(g_tTexcdu4): 83(ptr) Variable UniformConstant
371 87: TypeSampledImage 82
372 89: 6(float) Constant 1060320051
373 90: 6(float) Constant 1061997773
374 91: 6(float) Constant 1063675494
375 92: 68(fvec3) ConstantComposite 89 90 91
376 94: TypePointer Function 8(PS_OUTPUT)
377 96: 6(float) Constant 1065353216
378 97: 7(fvec4) ConstantComposite 96 96 96 96
379 99: 28(int) Constant 1
380 100: TypePointer Function 6(float)
381 107: TypePointer Output 7(fvec4)
382 108(Color): 107(ptr) Variable Output
383 111: TypePointer Output 6(float)
384 112(Depth): 111(ptr) Variable Output
385 115(g_sSamp2d): 19(ptr) Variable UniformConstant
386 116: TypeImage 6(float) 1D sampled format:Unknown
387 117: TypePointer UniformConstant 116
388 118(g_tTex1df4a): 117(ptr) Variable UniformConstant
389 119(g_tTex1df4): 117(ptr) Variable UniformConstant
390 120: TypeImage 28(int) 1D sampled format:Unknown
391 121: TypePointer UniformConstant 120
392 122(g_tTex1di4): 121(ptr) Variable UniformConstant
393 123: TypeImage 45(int) 1D sampled format:Unknown
394 124: TypePointer UniformConstant 123
395 125(g_tTex1du4): 124(ptr) Variable UniformConstant
396 126: TypeImage 6(float) 3D sampled format:Unknown
397 127: TypePointer UniformConstant 126
398 128(g_tTex3df4): 127(ptr) Variable UniformConstant
399 129: TypeImage 28(int) 3D sampled format:Unknown
400 130: TypePointer UniformConstant 129
401 131(g_tTex3di4): 130(ptr) Variable UniformConstant
402 132: TypeImage 45(int) 3D sampled format:Unknown
403 133: TypePointer UniformConstant 132
404 134(g_tTex3du4): 133(ptr) Variable UniformConstant
405 4(main): 2 Function None 3
407 105(flattenTemp): 94(ptr) Variable Function
408 106:8(PS_OUTPUT) FunctionCall 10(@main()
409 Store 105(flattenTemp) 106
410 109: 12(ptr) AccessChain 105(flattenTemp) 29
411 110: 7(fvec4) Load 109
413 113: 100(ptr) AccessChain 105(flattenTemp) 99
414 114: 6(float) Load 113
418 10(@main():8(PS_OUTPUT) Function None 9
420 13(txval20): 12(ptr) Variable Function
421 33(txval21): 32(ptr) Variable Function
422 48(txval22): 47(ptr) Variable Function
423 60(txval40): 12(ptr) Variable Function
424 71(txval41): 32(ptr) Variable Function
425 81(txval42): 47(ptr) Variable Function
426 95(psout): 94(ptr) Variable Function
427 17: 14 Load 16(g_tTex2df4)
428 21: 18 Load 20(g_sSamp)
429 23: 22 SampledImage 17 21
430 30: 7(fvec4) ImageGather 23 27 29
432 37: 34 Load 36(g_tTex2di4)
433 38: 18 Load 20(g_sSamp)
434 40: 39 SampledImage 37 38
435 44: 31(ivec4) ImageGather 40 43 29
437 52: 49 Load 51(g_tTex2du4)
438 53: 18 Load 20(g_sSamp)
439 55: 54 SampledImage 52 53
440 59: 46(ivec4) ImageGather 55 58 29
442 64: 61 Load 63(g_tTexcdf4)
443 65: 18 Load 20(g_sSamp)
444 67: 66 SampledImage 64 65
445 70: 7(fvec4) ImageGather 67 69 29
447 75: 72 Load 74(g_tTexcdi4)
448 76: 18 Load 20(g_sSamp)
449 78: 77 SampledImage 75 76
450 80: 31(ivec4) ImageGather 78 79 29
452 85: 82 Load 84(g_tTexcdu4)
453 86: 18 Load 20(g_sSamp)
454 88: 87 SampledImage 85 86
455 93: 46(ivec4) ImageGather 88 92 29
457 98: 12(ptr) AccessChain 95(psout) 29
459 101: 100(ptr) AccessChain 95(psout) 99
461 102:8(PS_OUTPUT) Load 95(psout)