1 hlsl.samplegrad.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 textureGrad ( 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)
23 0:28 move second child to first child ( temp 4-component vector of int)
24 0:28 'txval11' ( temp 4-component vector of int)
25 0:28 textureGrad ( temp 4-component vector of int)
26 0:28 Construct combined texture-sampler ( temp isampler1DArray)
27 0:28 'g_tTex1di4' ( uniform itexture1DArray)
28 0:28 'g_sSamp' (layout( binding=0) uniform sampler)
37 0:29 move second child to first child ( temp 4-component vector of uint)
38 0:29 'txval12' ( temp 4-component vector of uint)
39 0:29 textureGrad ( temp 4-component vector of uint)
40 0:29 Construct combined texture-sampler ( temp usampler1DArray)
41 0:29 'g_tTex1du4' ( uniform utexture1DArray)
42 0:29 'g_sSamp' (layout( binding=0) uniform sampler)
51 0:31 move second child to first child ( temp 4-component vector of float)
52 0:31 'txval20' ( temp 4-component vector of float)
53 0:31 textureGrad ( temp 4-component vector of float)
54 0:31 Construct combined texture-sampler ( temp sampler2DArray)
55 0:31 'g_tTex2df4' ( uniform texture2DArray)
56 0:31 'g_sSamp' (layout( binding=0) uniform sampler)
68 0:32 move second child to first child ( temp 4-component vector of int)
69 0:32 'txval21' ( temp 4-component vector of int)
70 0:32 textureGrad ( temp 4-component vector of int)
71 0:32 Construct combined texture-sampler ( temp isampler2DArray)
72 0:32 'g_tTex2di4' ( uniform itexture2DArray)
73 0:32 'g_sSamp' (layout( binding=0) uniform sampler)
85 0:33 move second child to first child ( temp 4-component vector of uint)
86 0:33 'txval22' ( temp 4-component vector of uint)
87 0:33 textureGrad ( temp 4-component vector of uint)
88 0:33 Construct combined texture-sampler ( temp usampler2DArray)
89 0:33 'g_tTex2du4' ( uniform utexture2DArray)
90 0:33 'g_sSamp' (layout( binding=0) uniform sampler)
102 0:35 move second child to first child ( temp 4-component vector of float)
103 0:35 'txval40' ( temp 4-component vector of float)
104 0:35 textureGrad ( temp 4-component vector of float)
105 0:35 Construct combined texture-sampler ( temp samplerCubeArray)
106 0:35 'g_tTexcdf4' ( uniform textureCubeArray)
107 0:35 'g_sSamp' (layout( binding=0) uniform sampler)
122 0:36 move second child to first child ( temp 4-component vector of int)
123 0:36 'txval41' ( temp 4-component vector of int)
124 0:36 textureGrad ( temp 4-component vector of int)
125 0:36 Construct combined texture-sampler ( temp isamplerCubeArray)
126 0:36 'g_tTexcdi4' ( uniform itextureCubeArray)
127 0:36 'g_sSamp' (layout( binding=0) uniform sampler)
142 0:37 move second child to first child ( temp 4-component vector of uint)
143 0:37 'txval42' ( temp 4-component vector of uint)
144 0:37 textureGrad ( temp 4-component vector of uint)
145 0:37 Construct combined texture-sampler ( temp usamplerCubeArray)
146 0:37 'g_tTexcdu4' ( uniform utextureCubeArray)
147 0:37 'g_sSamp' (layout( binding=0) uniform sampler)
161 0:39 move second child to first child ( temp 4-component vector of float)
162 0:39 Color: direct index for structure ( temp 4-component vector of float)
163 0:39 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
171 0:40 move second child to first child ( temp float)
172 0:40 Depth: direct index for structure ( temp float)
173 0:40 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
178 0:42 Branch: Return with expression
179 0:42 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
180 0:24 Function Definition: main( ( temp void)
181 0:24 Function Parameters:
184 0:24 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
185 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
186 0:24 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
187 0:24 move second child to first child ( temp 4-component vector of float)
188 0:? 'Color' (layout( location=0) out 4-component vector of float)
189 0:24 Color: direct index for structure ( temp 4-component vector of float)
190 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
193 0:24 move second child to first child ( temp float)
194 0:? 'Depth' ( out float FragDepth)
195 0:24 Depth: direct index for structure ( temp float)
196 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
200 0:? 'g_sSamp' (layout( binding=0) uniform sampler)
201 0:? 'g_tTex1df4a' (layout( binding=1) uniform texture1DArray)
202 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
203 0:? 'g_tTex1di4' ( uniform itexture1DArray)
204 0:? 'g_tTex1du4' ( uniform utexture1DArray)
205 0:? 'g_tTex2df4' ( uniform texture2DArray)
206 0:? 'g_tTex2di4' ( uniform itexture2DArray)
207 0:? 'g_tTex2du4' ( uniform utexture2DArray)
208 0:? 'g_tTexcdf4' ( uniform textureCubeArray)
209 0:? 'g_tTexcdi4' ( uniform itextureCubeArray)
210 0:? 'g_tTexcdu4' ( uniform utextureCubeArray)
211 0:? 'Color' (layout( location=0) out 4-component vector of float)
212 0:? 'Depth' ( out float FragDepth)
215 Linked fragment stage:
219 gl_FragCoord origin is upper left
221 0:24 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
222 0:24 Function Parameters:
225 0:27 move second child to first child ( temp 4-component vector of float)
226 0:27 'txval10' ( temp 4-component vector of float)
227 0:27 textureGrad ( temp 4-component vector of float)
228 0:27 Construct combined texture-sampler ( temp sampler1DArray)
229 0:27 'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
230 0:27 'g_sSamp' (layout( binding=0) uniform sampler)
239 0:28 move second child to first child ( temp 4-component vector of int)
240 0:28 'txval11' ( temp 4-component vector of int)
241 0:28 textureGrad ( temp 4-component vector of int)
242 0:28 Construct combined texture-sampler ( temp isampler1DArray)
243 0:28 'g_tTex1di4' ( uniform itexture1DArray)
244 0:28 'g_sSamp' (layout( binding=0) uniform sampler)
253 0:29 move second child to first child ( temp 4-component vector of uint)
254 0:29 'txval12' ( temp 4-component vector of uint)
255 0:29 textureGrad ( temp 4-component vector of uint)
256 0:29 Construct combined texture-sampler ( temp usampler1DArray)
257 0:29 'g_tTex1du4' ( uniform utexture1DArray)
258 0:29 'g_sSamp' (layout( binding=0) uniform sampler)
267 0:31 move second child to first child ( temp 4-component vector of float)
268 0:31 'txval20' ( temp 4-component vector of float)
269 0:31 textureGrad ( temp 4-component vector of float)
270 0:31 Construct combined texture-sampler ( temp sampler2DArray)
271 0:31 'g_tTex2df4' ( uniform texture2DArray)
272 0:31 'g_sSamp' (layout( binding=0) uniform sampler)
284 0:32 move second child to first child ( temp 4-component vector of int)
285 0:32 'txval21' ( temp 4-component vector of int)
286 0:32 textureGrad ( temp 4-component vector of int)
287 0:32 Construct combined texture-sampler ( temp isampler2DArray)
288 0:32 'g_tTex2di4' ( uniform itexture2DArray)
289 0:32 'g_sSamp' (layout( binding=0) uniform sampler)
301 0:33 move second child to first child ( temp 4-component vector of uint)
302 0:33 'txval22' ( temp 4-component vector of uint)
303 0:33 textureGrad ( temp 4-component vector of uint)
304 0:33 Construct combined texture-sampler ( temp usampler2DArray)
305 0:33 'g_tTex2du4' ( uniform utexture2DArray)
306 0:33 'g_sSamp' (layout( binding=0) uniform sampler)
318 0:35 move second child to first child ( temp 4-component vector of float)
319 0:35 'txval40' ( temp 4-component vector of float)
320 0:35 textureGrad ( temp 4-component vector of float)
321 0:35 Construct combined texture-sampler ( temp samplerCubeArray)
322 0:35 'g_tTexcdf4' ( uniform textureCubeArray)
323 0:35 'g_sSamp' (layout( binding=0) uniform sampler)
338 0:36 move second child to first child ( temp 4-component vector of int)
339 0:36 'txval41' ( temp 4-component vector of int)
340 0:36 textureGrad ( temp 4-component vector of int)
341 0:36 Construct combined texture-sampler ( temp isamplerCubeArray)
342 0:36 'g_tTexcdi4' ( uniform itextureCubeArray)
343 0:36 'g_sSamp' (layout( binding=0) uniform sampler)
358 0:37 move second child to first child ( temp 4-component vector of uint)
359 0:37 'txval42' ( temp 4-component vector of uint)
360 0:37 textureGrad ( temp 4-component vector of uint)
361 0:37 Construct combined texture-sampler ( temp usamplerCubeArray)
362 0:37 'g_tTexcdu4' ( uniform utextureCubeArray)
363 0:37 'g_sSamp' (layout( binding=0) uniform sampler)
377 0:39 move second child to first child ( temp 4-component vector of float)
378 0:39 Color: direct index for structure ( temp 4-component vector of float)
379 0:39 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
387 0:40 move second child to first child ( temp float)
388 0:40 Depth: direct index for structure ( temp float)
389 0:40 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
394 0:42 Branch: Return with expression
395 0:42 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
396 0:24 Function Definition: main( ( temp void)
397 0:24 Function Parameters:
400 0:24 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
401 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
402 0:24 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
403 0:24 move second child to first child ( temp 4-component vector of float)
404 0:? 'Color' (layout( location=0) out 4-component vector of float)
405 0:24 Color: direct index for structure ( temp 4-component vector of float)
406 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
409 0:24 move second child to first child ( temp float)
410 0:? 'Depth' ( out float FragDepth)
411 0:24 Depth: direct index for structure ( temp float)
412 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
416 0:? 'g_sSamp' (layout( binding=0) uniform sampler)
417 0:? 'g_tTex1df4a' (layout( binding=1) uniform texture1DArray)
418 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
419 0:? 'g_tTex1di4' ( uniform itexture1DArray)
420 0:? 'g_tTex1du4' ( uniform utexture1DArray)
421 0:? 'g_tTex2df4' ( uniform texture2DArray)
422 0:? 'g_tTex2di4' ( uniform itexture2DArray)
423 0:? 'g_tTex2du4' ( uniform utexture2DArray)
424 0:? 'g_tTexcdf4' ( uniform textureCubeArray)
425 0:? 'g_tTexcdi4' ( uniform itextureCubeArray)
426 0:? 'g_tTexcdu4' ( uniform utextureCubeArray)
427 0:? 'Color' (layout( location=0) out 4-component vector of float)
428 0:? 'Depth' ( out float FragDepth)
430 // Module Version 10000
431 // Generated by (magic number): 80001
432 // Id's are bound by 140
436 Capability SampledCubeArray
437 1: ExtInstImport "GLSL.std.450"
438 MemoryModel Logical GLSL450
439 EntryPoint Fragment 4 "main" 132 136
440 ExecutionMode 4 OriginUpperLeft
443 MemberName 8(PS_OUTPUT) 0 "Color"
444 MemberName 8(PS_OUTPUT) 1 "Depth"
462 Name 102 "g_tTexcdi4"
464 Name 111 "g_tTexcdu4"
466 Name 129 "flattenTemp"
469 Name 139 "g_tTex1df4a"
470 Decorate 16(g_tTex1df4) DescriptorSet 0
471 Decorate 16(g_tTex1df4) Binding 0
472 Decorate 20(g_sSamp) DescriptorSet 0
473 Decorate 20(g_sSamp) Binding 0
474 Decorate 37(g_tTex1di4) DescriptorSet 0
475 Decorate 49(g_tTex1du4) DescriptorSet 0
476 Decorate 58(g_tTex2df4) DescriptorSet 0
477 Decorate 71(g_tTex2di4) DescriptorSet 0
478 Decorate 80(g_tTex2du4) DescriptorSet 0
479 Decorate 89(g_tTexcdf4) DescriptorSet 0
480 Decorate 102(g_tTexcdi4) DescriptorSet 0
481 Decorate 111(g_tTexcdu4) DescriptorSet 0
482 Decorate 132(Color) Location 0
483 Decorate 136(Depth) BuiltIn FragDepth
484 Decorate 139(g_tTex1df4a) DescriptorSet 0
485 Decorate 139(g_tTex1df4a) Binding 1
489 7: TypeVector 6(float) 4
490 8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float)
491 9: TypeFunction 8(PS_OUTPUT)
492 12: TypePointer Function 7(fvec4)
493 14: TypeImage 6(float) 1D array sampled format:Unknown
494 15: TypePointer UniformConstant 14
495 16(g_tTex1df4): 15(ptr) Variable UniformConstant
497 19: TypePointer UniformConstant 18
498 20(g_sSamp): 19(ptr) Variable UniformConstant
499 22: TypeSampledImage 14
500 24: TypeVector 6(float) 2
501 25: 6(float) Constant 1036831949
502 26: 6(float) Constant 1045220557
503 27: 24(fvec2) ConstantComposite 25 26
504 28: 6(float) Constant 1066192077
505 29: 6(float) Constant 1067030938
507 32: TypeVector 31(int) 4
508 33: TypePointer Function 32(ivec4)
509 35: TypeImage 31(int) 1D array sampled format:Unknown
510 36: TypePointer UniformConstant 35
511 37(g_tTex1di4): 36(ptr) Variable UniformConstant
512 40: TypeSampledImage 35
514 44: TypeVector 43(int) 4
515 45: TypePointer Function 44(ivec4)
516 47: TypeImage 43(int) 1D array sampled format:Unknown
517 48: TypePointer UniformConstant 47
518 49(g_tTex1du4): 48(ptr) Variable UniformConstant
519 52: TypeSampledImage 47
520 56: TypeImage 6(float) 2D array sampled format:Unknown
521 57: TypePointer UniformConstant 56
522 58(g_tTex2df4): 57(ptr) Variable UniformConstant
523 61: TypeSampledImage 56
524 63: TypeVector 6(float) 3
525 64: 6(float) Constant 1050253722
526 65: 63(fvec3) ConstantComposite 25 26 64
527 66: 24(fvec2) ConstantComposite 28 29
528 69: TypeImage 31(int) 2D array sampled format:Unknown
529 70: TypePointer UniformConstant 69
530 71(g_tTex2di4): 70(ptr) Variable UniformConstant
531 74: TypeSampledImage 69
532 78: TypeImage 43(int) 2D array sampled format:Unknown
533 79: TypePointer UniformConstant 78
534 80(g_tTex2du4): 79(ptr) Variable UniformConstant
535 83: TypeSampledImage 78
536 87: TypeImage 6(float) Cube array sampled format:Unknown
537 88: TypePointer UniformConstant 87
538 89(g_tTexcdf4): 88(ptr) Variable UniformConstant
539 92: TypeSampledImage 87
540 94: 6(float) Constant 1053609165
541 95: 7(fvec4) ConstantComposite 25 26 64 94
542 96: 6(float) Constant 1067869798
543 97: 63(fvec3) ConstantComposite 28 29 96
544 100: TypeImage 31(int) Cube array sampled format:Unknown
545 101: TypePointer UniformConstant 100
546 102(g_tTexcdi4): 101(ptr) Variable UniformConstant
547 105: TypeSampledImage 100
548 109: TypeImage 43(int) Cube array sampled format:Unknown
549 110: TypePointer UniformConstant 109
550 111(g_tTexcdu4): 110(ptr) Variable UniformConstant
551 114: TypeSampledImage 109
552 117: TypePointer Function 8(PS_OUTPUT)
553 119: 31(int) Constant 0
554 120: 6(float) Constant 1065353216
555 121: 7(fvec4) ConstantComposite 120 120 120 120
556 123: 31(int) Constant 1
557 124: TypePointer Function 6(float)
558 131: TypePointer Output 7(fvec4)
559 132(Color): 131(ptr) Variable Output
560 135: TypePointer Output 6(float)
561 136(Depth): 135(ptr) Variable Output
562 139(g_tTex1df4a): 15(ptr) Variable UniformConstant
563 4(main): 2 Function None 3
565 129(flattenTemp): 117(ptr) Variable Function
566 130:8(PS_OUTPUT) FunctionCall 10(@main()
567 Store 129(flattenTemp) 130
568 133: 12(ptr) AccessChain 129(flattenTemp) 119
569 134: 7(fvec4) Load 133
571 137: 124(ptr) AccessChain 129(flattenTemp) 123
572 138: 6(float) Load 137
576 10(@main():8(PS_OUTPUT) Function None 9
578 13(txval10): 12(ptr) Variable Function
579 34(txval11): 33(ptr) Variable Function
580 46(txval12): 45(ptr) Variable Function
581 55(txval20): 12(ptr) Variable Function
582 68(txval21): 33(ptr) Variable Function
583 77(txval22): 45(ptr) Variable Function
584 86(txval40): 12(ptr) Variable Function
585 99(txval41): 33(ptr) Variable Function
586 108(txval42): 45(ptr) Variable Function
587 118(psout): 117(ptr) Variable Function
588 17: 14 Load 16(g_tTex1df4)
589 21: 18 Load 20(g_sSamp)
590 23: 22 SampledImage 17 21
591 30: 7(fvec4) ImageSampleExplicitLod 23 27 Grad 28 29
593 38: 35 Load 37(g_tTex1di4)
594 39: 18 Load 20(g_sSamp)
595 41: 40 SampledImage 38 39
596 42: 32(ivec4) ImageSampleExplicitLod 41 27 Grad 28 29
598 50: 47 Load 49(g_tTex1du4)
599 51: 18 Load 20(g_sSamp)
600 53: 52 SampledImage 50 51
601 54: 44(ivec4) ImageSampleExplicitLod 53 27 Grad 28 29
603 59: 56 Load 58(g_tTex2df4)
604 60: 18 Load 20(g_sSamp)
605 62: 61 SampledImage 59 60
606 67: 7(fvec4) ImageSampleExplicitLod 62 65 Grad 66 66
608 72: 69 Load 71(g_tTex2di4)
609 73: 18 Load 20(g_sSamp)
610 75: 74 SampledImage 72 73
611 76: 32(ivec4) ImageSampleExplicitLod 75 65 Grad 66 66
613 81: 78 Load 80(g_tTex2du4)
614 82: 18 Load 20(g_sSamp)
615 84: 83 SampledImage 81 82
616 85: 44(ivec4) ImageSampleExplicitLod 84 65 Grad 66 66
618 90: 87 Load 89(g_tTexcdf4)
619 91: 18 Load 20(g_sSamp)
620 93: 92 SampledImage 90 91
621 98: 7(fvec4) ImageSampleExplicitLod 93 95 Grad 97 97
623 103: 100 Load 102(g_tTexcdi4)
624 104: 18 Load 20(g_sSamp)
625 106: 105 SampledImage 103 104
626 107: 32(ivec4) ImageSampleExplicitLod 106 95 Grad 97 97
627 Store 99(txval41) 107
628 112: 109 Load 111(g_tTexcdu4)
629 113: 18 Load 20(g_sSamp)
630 115: 114 SampledImage 112 113
631 116: 44(ivec4) ImageSampleExplicitLod 115 95 Grad 97 97
632 Store 108(txval42) 116
633 122: 12(ptr) AccessChain 118(psout) 119
635 125: 124(ptr) AccessChain 118(psout) 123
637 126:8(PS_OUTPUT) Load 118(psout)