1 hlsl.samplebias.array.dx10.frag
3 gl_FragCoord origin is upper left
5 0:24 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
6 0:24 Function Parameters:
9 0:27 move second child to first child ( temp 4-component vector of float)
10 0:27 'txval10' ( temp 4-component vector of float)
11 0:27 texture ( temp 4-component vector of float)
12 0:27 Construct combined texture-sampler ( temp sampler1DArray)
13 0:27 'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
14 0:27 'g_sSamp' (layout( binding=0) uniform sampler)
21 0:28 move second child to first child ( temp 4-component vector of int)
22 0:28 'txval11' ( temp 4-component vector of int)
23 0:28 texture ( temp 4-component vector of int)
24 0:28 Construct combined texture-sampler ( temp isampler1DArray)
25 0:28 'g_tTex1di4' ( uniform itexture1DArray)
26 0:28 'g_sSamp' (layout( binding=0) uniform sampler)
33 0:29 move second child to first child ( temp 4-component vector of uint)
34 0:29 'txval12' ( temp 4-component vector of uint)
35 0:29 texture ( temp 4-component vector of uint)
36 0:29 Construct combined texture-sampler ( temp usampler1DArray)
37 0:29 'g_tTex1du4' ( uniform utexture1DArray)
38 0:29 'g_sSamp' (layout( binding=0) uniform sampler)
45 0:31 move second child to first child ( temp 4-component vector of float)
46 0:31 'txval20' ( temp 4-component vector of float)
47 0:31 texture ( temp 4-component vector of float)
48 0:31 Construct combined texture-sampler ( temp sampler2DArray)
49 0:31 'g_tTex2df4' ( uniform texture2DArray)
50 0:31 'g_sSamp' (layout( binding=0) uniform sampler)
58 0:32 move second child to first child ( temp 4-component vector of int)
59 0:32 'txval21' ( temp 4-component vector of int)
60 0:32 texture ( temp 4-component vector of int)
61 0:32 Construct combined texture-sampler ( temp isampler2DArray)
62 0:32 'g_tTex2di4' ( uniform itexture2DArray)
63 0:32 'g_sSamp' (layout( binding=0) uniform sampler)
71 0:33 move second child to first child ( temp 4-component vector of uint)
72 0:33 'txval22' ( temp 4-component vector of uint)
73 0:33 texture ( temp 4-component vector of uint)
74 0:33 Construct combined texture-sampler ( temp usampler2DArray)
75 0:33 'g_tTex2du4' ( uniform utexture2DArray)
76 0:33 'g_sSamp' (layout( binding=0) uniform sampler)
84 0:35 move second child to first child ( temp 4-component vector of float)
85 0:35 'txval40' ( temp 4-component vector of float)
86 0:35 texture ( temp 4-component vector of float)
87 0:35 Construct combined texture-sampler ( temp samplerCubeArray)
88 0:35 'g_tTexcdf4' ( uniform textureCubeArray)
89 0:35 'g_sSamp' (layout( binding=0) uniform sampler)
98 0:36 move second child to first child ( temp 4-component vector of int)
99 0:36 'txval41' ( temp 4-component vector of int)
100 0:36 texture ( temp 4-component vector of int)
101 0:36 Construct combined texture-sampler ( temp isamplerCubeArray)
102 0:36 'g_tTexcdi4' ( uniform itextureCubeArray)
103 0:36 'g_sSamp' (layout( binding=0) uniform sampler)
112 0:37 move second child to first child ( temp 4-component vector of uint)
113 0:37 'txval42' ( temp 4-component vector of uint)
114 0:37 texture ( temp 4-component vector of uint)
115 0:37 Construct combined texture-sampler ( temp usamplerCubeArray)
116 0:37 'g_tTexcdu4' ( uniform utextureCubeArray)
117 0:37 'g_sSamp' (layout( binding=0) uniform sampler)
125 0:39 move second child to first child ( temp 4-component vector of float)
126 0:39 Color: direct index for structure ( temp 4-component vector of float)
127 0:39 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
135 0:40 move second child to first child ( temp float)
136 0:40 Depth: direct index for structure ( temp float)
137 0:40 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
142 0:42 Branch: Return with expression
143 0:42 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
144 0:24 Function Definition: main( ( temp void)
145 0:24 Function Parameters:
148 0:24 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
149 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
150 0:24 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
151 0:24 move second child to first child ( temp 4-component vector of float)
152 0:? 'Color' (layout( location=0) out 4-component vector of float)
153 0:24 Color: direct index for structure ( temp 4-component vector of float)
154 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
157 0:24 move second child to first child ( temp float)
158 0:? 'Depth' ( out float FragDepth)
159 0:24 Depth: direct index for structure ( temp float)
160 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
164 0:? 'g_sSamp' (layout( binding=0) uniform sampler)
165 0:? 'g_tTex1df4a' (layout( binding=1) uniform texture1DArray)
166 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
167 0:? 'g_tTex1di4' ( uniform itexture1DArray)
168 0:? 'g_tTex1du4' ( uniform utexture1DArray)
169 0:? 'g_tTex2df4' ( uniform texture2DArray)
170 0:? 'g_tTex2di4' ( uniform itexture2DArray)
171 0:? 'g_tTex2du4' ( uniform utexture2DArray)
172 0:? 'g_tTexcdf4' ( uniform textureCubeArray)
173 0:? 'g_tTexcdi4' ( uniform itextureCubeArray)
174 0:? 'g_tTexcdu4' ( uniform utextureCubeArray)
175 0:? 'Color' (layout( location=0) out 4-component vector of float)
176 0:? 'Depth' ( out float FragDepth)
179 Linked fragment stage:
183 gl_FragCoord origin is upper left
185 0:24 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
186 0:24 Function Parameters:
189 0:27 move second child to first child ( temp 4-component vector of float)
190 0:27 'txval10' ( temp 4-component vector of float)
191 0:27 texture ( temp 4-component vector of float)
192 0:27 Construct combined texture-sampler ( temp sampler1DArray)
193 0:27 'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
194 0:27 'g_sSamp' (layout( binding=0) uniform sampler)
201 0:28 move second child to first child ( temp 4-component vector of int)
202 0:28 'txval11' ( temp 4-component vector of int)
203 0:28 texture ( temp 4-component vector of int)
204 0:28 Construct combined texture-sampler ( temp isampler1DArray)
205 0:28 'g_tTex1di4' ( uniform itexture1DArray)
206 0:28 'g_sSamp' (layout( binding=0) uniform sampler)
213 0:29 move second child to first child ( temp 4-component vector of uint)
214 0:29 'txval12' ( temp 4-component vector of uint)
215 0:29 texture ( temp 4-component vector of uint)
216 0:29 Construct combined texture-sampler ( temp usampler1DArray)
217 0:29 'g_tTex1du4' ( uniform utexture1DArray)
218 0:29 'g_sSamp' (layout( binding=0) uniform sampler)
225 0:31 move second child to first child ( temp 4-component vector of float)
226 0:31 'txval20' ( temp 4-component vector of float)
227 0:31 texture ( temp 4-component vector of float)
228 0:31 Construct combined texture-sampler ( temp sampler2DArray)
229 0:31 'g_tTex2df4' ( uniform texture2DArray)
230 0:31 'g_sSamp' (layout( binding=0) uniform sampler)
238 0:32 move second child to first child ( temp 4-component vector of int)
239 0:32 'txval21' ( temp 4-component vector of int)
240 0:32 texture ( temp 4-component vector of int)
241 0:32 Construct combined texture-sampler ( temp isampler2DArray)
242 0:32 'g_tTex2di4' ( uniform itexture2DArray)
243 0:32 'g_sSamp' (layout( binding=0) uniform sampler)
251 0:33 move second child to first child ( temp 4-component vector of uint)
252 0:33 'txval22' ( temp 4-component vector of uint)
253 0:33 texture ( temp 4-component vector of uint)
254 0:33 Construct combined texture-sampler ( temp usampler2DArray)
255 0:33 'g_tTex2du4' ( uniform utexture2DArray)
256 0:33 'g_sSamp' (layout( binding=0) uniform sampler)
264 0:35 move second child to first child ( temp 4-component vector of float)
265 0:35 'txval40' ( temp 4-component vector of float)
266 0:35 texture ( temp 4-component vector of float)
267 0:35 Construct combined texture-sampler ( temp samplerCubeArray)
268 0:35 'g_tTexcdf4' ( uniform textureCubeArray)
269 0:35 'g_sSamp' (layout( binding=0) uniform sampler)
278 0:36 move second child to first child ( temp 4-component vector of int)
279 0:36 'txval41' ( temp 4-component vector of int)
280 0:36 texture ( temp 4-component vector of int)
281 0:36 Construct combined texture-sampler ( temp isamplerCubeArray)
282 0:36 'g_tTexcdi4' ( uniform itextureCubeArray)
283 0:36 'g_sSamp' (layout( binding=0) uniform sampler)
292 0:37 move second child to first child ( temp 4-component vector of uint)
293 0:37 'txval42' ( temp 4-component vector of uint)
294 0:37 texture ( temp 4-component vector of uint)
295 0:37 Construct combined texture-sampler ( temp usamplerCubeArray)
296 0:37 'g_tTexcdu4' ( uniform utextureCubeArray)
297 0:37 'g_sSamp' (layout( binding=0) uniform sampler)
305 0:39 move second child to first child ( temp 4-component vector of float)
306 0:39 Color: direct index for structure ( temp 4-component vector of float)
307 0:39 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
315 0:40 move second child to first child ( temp float)
316 0:40 Depth: direct index for structure ( temp float)
317 0:40 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
322 0:42 Branch: Return with expression
323 0:42 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
324 0:24 Function Definition: main( ( temp void)
325 0:24 Function Parameters:
328 0:24 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
329 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
330 0:24 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
331 0:24 move second child to first child ( temp 4-component vector of float)
332 0:? 'Color' (layout( location=0) out 4-component vector of float)
333 0:24 Color: direct index for structure ( temp 4-component vector of float)
334 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
337 0:24 move second child to first child ( temp float)
338 0:? 'Depth' ( out float FragDepth)
339 0:24 Depth: direct index for structure ( temp float)
340 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
344 0:? 'g_sSamp' (layout( binding=0) uniform sampler)
345 0:? 'g_tTex1df4a' (layout( binding=1) uniform texture1DArray)
346 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
347 0:? 'g_tTex1di4' ( uniform itexture1DArray)
348 0:? 'g_tTex1du4' ( uniform utexture1DArray)
349 0:? 'g_tTex2df4' ( uniform texture2DArray)
350 0:? 'g_tTex2di4' ( uniform itexture2DArray)
351 0:? 'g_tTex2du4' ( uniform utexture2DArray)
352 0:? 'g_tTexcdf4' ( uniform textureCubeArray)
353 0:? 'g_tTexcdi4' ( uniform itextureCubeArray)
354 0:? 'g_tTexcdu4' ( uniform utextureCubeArray)
355 0:? 'Color' (layout( location=0) out 4-component vector of float)
356 0:? 'Depth' ( out float FragDepth)
358 // Module Version 10000
359 // Generated by (magic number): 80001
360 // Id's are bound by 146
364 Capability SampledCubeArray
365 1: ExtInstImport "GLSL.std.450"
366 MemoryModel Logical GLSL450
367 EntryPoint Fragment 4 "main" 138 142
368 ExecutionMode 4 OriginUpperLeft
372 MemberName 8(PS_OUTPUT) 0 "Color"
373 MemberName 8(PS_OUTPUT) 1 "Depth"
391 Name 104 "g_tTexcdi4"
393 Name 114 "g_tTexcdu4"
395 Name 135 "flattenTemp"
398 Name 145 "g_tTex1df4a"
399 Decorate 16(g_tTex1df4) DescriptorSet 0
400 Decorate 16(g_tTex1df4) Binding 0
401 Decorate 20(g_sSamp) DescriptorSet 0
402 Decorate 20(g_sSamp) Binding 0
403 Decorate 36(g_tTex1di4) DescriptorSet 0
404 Decorate 50(g_tTex1du4) DescriptorSet 0
405 Decorate 61(g_tTex2df4) DescriptorSet 0
406 Decorate 72(g_tTex2di4) DescriptorSet 0
407 Decorate 82(g_tTex2du4) DescriptorSet 0
408 Decorate 94(g_tTexcdf4) DescriptorSet 0
409 Decorate 104(g_tTexcdi4) DescriptorSet 0
410 Decorate 114(g_tTexcdu4) DescriptorSet 0
411 Decorate 138(Color) Location 0
412 Decorate 142(Depth) BuiltIn FragDepth
413 Decorate 145(g_tTex1df4a) DescriptorSet 0
414 Decorate 145(g_tTex1df4a) Binding 1
418 7: TypeVector 6(float) 4
419 8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float)
420 9: TypeFunction 8(PS_OUTPUT)
421 12: TypePointer Function 7(fvec4)
422 14: TypeImage 6(float) 1D array sampled format:Unknown
423 15: TypePointer UniformConstant 14
424 16(g_tTex1df4): 15(ptr) Variable UniformConstant
426 19: TypePointer UniformConstant 18
427 20(g_sSamp): 19(ptr) Variable UniformConstant
428 22: TypeSampledImage 14
429 24: TypeVector 6(float) 2
430 25: 6(float) Constant 1036831949
431 26: 6(float) Constant 1045220557
432 27: 24(fvec2) ConstantComposite 25 26
433 28: 6(float) Constant 1056964608
435 31: TypeVector 30(int) 4
436 32: TypePointer Function 31(ivec4)
437 34: TypeImage 30(int) 1D array sampled format:Unknown
438 35: TypePointer UniformConstant 34
439 36(g_tTex1di4): 35(ptr) Variable UniformConstant
440 39: TypeSampledImage 34
441 41: 6(float) Constant 1050253722
442 42: 24(fvec2) ConstantComposite 26 41
444 45: TypeVector 44(int) 4
445 46: TypePointer Function 45(ivec4)
446 48: TypeImage 44(int) 1D array sampled format:Unknown
447 49: TypePointer UniformConstant 48
448 50(g_tTex1du4): 49(ptr) Variable UniformConstant
449 53: TypeSampledImage 48
450 55: 6(float) Constant 1053609165
451 56: 24(fvec2) ConstantComposite 41 55
452 59: TypeImage 6(float) 2D array sampled format:Unknown
453 60: TypePointer UniformConstant 59
454 61(g_tTex2df4): 60(ptr) Variable UniformConstant
455 64: TypeSampledImage 59
456 66: TypeVector 6(float) 3
457 67: 66(fvec3) ConstantComposite 25 26 41
458 70: TypeImage 30(int) 2D array sampled format:Unknown
459 71: TypePointer UniformConstant 70
460 72(g_tTex2di4): 71(ptr) Variable UniformConstant
461 75: TypeSampledImage 70
462 77: 66(fvec3) ConstantComposite 41 55 28
463 80: TypeImage 44(int) 2D array sampled format:Unknown
464 81: TypePointer UniformConstant 80
465 82(g_tTex2du4): 81(ptr) Variable UniformConstant
466 85: TypeSampledImage 80
467 87: 6(float) Constant 1058642330
468 88: 6(float) Constant 1060320051
469 89: 66(fvec3) ConstantComposite 28 87 88
470 92: TypeImage 6(float) Cube array sampled format:Unknown
471 93: TypePointer UniformConstant 92
472 94(g_tTexcdf4): 93(ptr) Variable UniformConstant
473 97: TypeSampledImage 92
474 99: 7(fvec4) ConstantComposite 25 26 41 55
475 102: TypeImage 30(int) Cube array sampled format:Unknown
476 103: TypePointer UniformConstant 102
477 104(g_tTexcdi4): 103(ptr) Variable UniformConstant
478 107: TypeSampledImage 102
479 109: 7(fvec4) ConstantComposite 55 28 87 88
480 112: TypeImage 44(int) Cube array sampled format:Unknown
481 113: TypePointer UniformConstant 112
482 114(g_tTexcdu4): 113(ptr) Variable UniformConstant
483 117: TypeSampledImage 112
484 119: 6(float) Constant 1061997773
485 120: 6(float) Constant 1063675494
486 121: 6(float) Constant 1065353216
487 122: 7(fvec4) ConstantComposite 88 119 120 121
488 124: TypePointer Function 8(PS_OUTPUT)
489 126: 30(int) Constant 0
490 127: 7(fvec4) ConstantComposite 121 121 121 121
491 129: 30(int) Constant 1
492 130: TypePointer Function 6(float)
493 137: TypePointer Output 7(fvec4)
494 138(Color): 137(ptr) Variable Output
495 141: TypePointer Output 6(float)
496 142(Depth): 141(ptr) Variable Output
497 145(g_tTex1df4a): 15(ptr) Variable UniformConstant
498 4(main): 2 Function None 3
500 135(flattenTemp): 124(ptr) Variable Function
501 136:8(PS_OUTPUT) FunctionCall 10(@main()
502 Store 135(flattenTemp) 136
503 139: 12(ptr) AccessChain 135(flattenTemp) 126
504 140: 7(fvec4) Load 139
506 143: 130(ptr) AccessChain 135(flattenTemp) 129
507 144: 6(float) Load 143
511 10(@main():8(PS_OUTPUT) Function None 9
513 13(txval10): 12(ptr) Variable Function
514 33(txval11): 32(ptr) Variable Function
515 47(txval12): 46(ptr) Variable Function
516 58(txval20): 12(ptr) Variable Function
517 69(txval21): 32(ptr) Variable Function
518 79(txval22): 46(ptr) Variable Function
519 91(txval40): 12(ptr) Variable Function
520 101(txval41): 32(ptr) Variable Function
521 111(txval42): 46(ptr) Variable Function
522 125(psout): 124(ptr) Variable Function
523 17: 14 Load 16(g_tTex1df4)
524 21: 18 Load 20(g_sSamp)
525 23: 22 SampledImage 17 21
526 29: 7(fvec4) ImageSampleImplicitLod 23 27 Bias 28
528 37: 34 Load 36(g_tTex1di4)
529 38: 18 Load 20(g_sSamp)
530 40: 39 SampledImage 37 38
531 43: 31(ivec4) ImageSampleImplicitLod 40 42 Bias 28
533 51: 48 Load 50(g_tTex1du4)
534 52: 18 Load 20(g_sSamp)
535 54: 53 SampledImage 51 52
536 57: 45(ivec4) ImageSampleImplicitLod 54 56 Bias 28
538 62: 59 Load 61(g_tTex2df4)
539 63: 18 Load 20(g_sSamp)
540 65: 64 SampledImage 62 63
541 68: 7(fvec4) ImageSampleImplicitLod 65 67 Bias 28
543 73: 70 Load 72(g_tTex2di4)
544 74: 18 Load 20(g_sSamp)
545 76: 75 SampledImage 73 74
546 78: 31(ivec4) ImageSampleImplicitLod 76 77 Bias 28
548 83: 80 Load 82(g_tTex2du4)
549 84: 18 Load 20(g_sSamp)
550 86: 85 SampledImage 83 84
551 90: 45(ivec4) ImageSampleImplicitLod 86 89 Bias 28
553 95: 92 Load 94(g_tTexcdf4)
554 96: 18 Load 20(g_sSamp)
555 98: 97 SampledImage 95 96
556 100: 7(fvec4) ImageSampleImplicitLod 98 99 Bias 28
557 Store 91(txval40) 100
558 105: 102 Load 104(g_tTexcdi4)
559 106: 18 Load 20(g_sSamp)
560 108: 107 SampledImage 105 106
561 110: 31(ivec4) ImageSampleImplicitLod 108 109 Bias 28
562 Store 101(txval41) 110
563 115: 112 Load 114(g_tTexcdu4)
564 116: 18 Load 20(g_sSamp)
565 118: 117 SampledImage 115 116
566 123: 45(ivec4) ImageSampleImplicitLod 118 122 Bias 28
567 Store 111(txval42) 123
568 128: 12(ptr) AccessChain 125(psout) 126
570 131: 130(ptr) AccessChain 125(psout) 129
572 132:8(PS_OUTPUT) Load 125(psout)