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
371 MemberName 8(PS_OUTPUT) 0 "Color"
372 MemberName 8(PS_OUTPUT) 1 "Depth"
390 Name 104 "g_tTexcdi4"
392 Name 114 "g_tTexcdu4"
394 Name 135 "flattenTemp"
397 Name 145 "g_tTex1df4a"
398 Decorate 16(g_tTex1df4) DescriptorSet 0
399 Decorate 16(g_tTex1df4) Binding 0
400 Decorate 20(g_sSamp) DescriptorSet 0
401 Decorate 20(g_sSamp) Binding 0
402 Decorate 36(g_tTex1di4) DescriptorSet 0
403 Decorate 50(g_tTex1du4) DescriptorSet 0
404 Decorate 61(g_tTex2df4) DescriptorSet 0
405 Decorate 72(g_tTex2di4) DescriptorSet 0
406 Decorate 82(g_tTex2du4) DescriptorSet 0
407 Decorate 94(g_tTexcdf4) DescriptorSet 0
408 Decorate 104(g_tTexcdi4) DescriptorSet 0
409 Decorate 114(g_tTexcdu4) DescriptorSet 0
410 Decorate 138(Color) Location 0
411 Decorate 142(Depth) BuiltIn FragDepth
412 Decorate 145(g_tTex1df4a) DescriptorSet 0
413 Decorate 145(g_tTex1df4a) Binding 1
417 7: TypeVector 6(float) 4
418 8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float)
419 9: TypeFunction 8(PS_OUTPUT)
420 12: TypePointer Function 7(fvec4)
421 14: TypeImage 6(float) 1D array sampled format:Unknown
422 15: TypePointer UniformConstant 14
423 16(g_tTex1df4): 15(ptr) Variable UniformConstant
425 19: TypePointer UniformConstant 18
426 20(g_sSamp): 19(ptr) Variable UniformConstant
427 22: TypeSampledImage 14
428 24: TypeVector 6(float) 2
429 25: 6(float) Constant 1036831949
430 26: 6(float) Constant 1045220557
431 27: 24(fvec2) ConstantComposite 25 26
432 28: 6(float) Constant 1056964608
434 31: TypeVector 30(int) 4
435 32: TypePointer Function 31(ivec4)
436 34: TypeImage 30(int) 1D array sampled format:Unknown
437 35: TypePointer UniformConstant 34
438 36(g_tTex1di4): 35(ptr) Variable UniformConstant
439 39: TypeSampledImage 34
440 41: 6(float) Constant 1050253722
441 42: 24(fvec2) ConstantComposite 26 41
443 45: TypeVector 44(int) 4
444 46: TypePointer Function 45(ivec4)
445 48: TypeImage 44(int) 1D array sampled format:Unknown
446 49: TypePointer UniformConstant 48
447 50(g_tTex1du4): 49(ptr) Variable UniformConstant
448 53: TypeSampledImage 48
449 55: 6(float) Constant 1053609165
450 56: 24(fvec2) ConstantComposite 41 55
451 59: TypeImage 6(float) 2D array sampled format:Unknown
452 60: TypePointer UniformConstant 59
453 61(g_tTex2df4): 60(ptr) Variable UniformConstant
454 64: TypeSampledImage 59
455 66: TypeVector 6(float) 3
456 67: 66(fvec3) ConstantComposite 25 26 41
457 70: TypeImage 30(int) 2D array sampled format:Unknown
458 71: TypePointer UniformConstant 70
459 72(g_tTex2di4): 71(ptr) Variable UniformConstant
460 75: TypeSampledImage 70
461 77: 66(fvec3) ConstantComposite 41 55 28
462 80: TypeImage 44(int) 2D array sampled format:Unknown
463 81: TypePointer UniformConstant 80
464 82(g_tTex2du4): 81(ptr) Variable UniformConstant
465 85: TypeSampledImage 80
466 87: 6(float) Constant 1058642330
467 88: 6(float) Constant 1060320051
468 89: 66(fvec3) ConstantComposite 28 87 88
469 92: TypeImage 6(float) Cube array sampled format:Unknown
470 93: TypePointer UniformConstant 92
471 94(g_tTexcdf4): 93(ptr) Variable UniformConstant
472 97: TypeSampledImage 92
473 99: 7(fvec4) ConstantComposite 25 26 41 55
474 102: TypeImage 30(int) Cube array sampled format:Unknown
475 103: TypePointer UniformConstant 102
476 104(g_tTexcdi4): 103(ptr) Variable UniformConstant
477 107: TypeSampledImage 102
478 109: 7(fvec4) ConstantComposite 55 28 87 88
479 112: TypeImage 44(int) Cube array sampled format:Unknown
480 113: TypePointer UniformConstant 112
481 114(g_tTexcdu4): 113(ptr) Variable UniformConstant
482 117: TypeSampledImage 112
483 119: 6(float) Constant 1061997773
484 120: 6(float) Constant 1063675494
485 121: 6(float) Constant 1065353216
486 122: 7(fvec4) ConstantComposite 88 119 120 121
487 124: TypePointer Function 8(PS_OUTPUT)
488 126: 30(int) Constant 0
489 127: 7(fvec4) ConstantComposite 121 121 121 121
490 129: 30(int) Constant 1
491 130: TypePointer Function 6(float)
492 137: TypePointer Output 7(fvec4)
493 138(Color): 137(ptr) Variable Output
494 141: TypePointer Output 6(float)
495 142(Depth): 141(ptr) Variable Output
496 145(g_tTex1df4a): 15(ptr) Variable UniformConstant
497 4(main): 2 Function None 3
499 135(flattenTemp): 124(ptr) Variable Function
500 136:8(PS_OUTPUT) FunctionCall 10(@main()
501 Store 135(flattenTemp) 136
502 139: 12(ptr) AccessChain 135(flattenTemp) 126
503 140: 7(fvec4) Load 139
505 143: 130(ptr) AccessChain 135(flattenTemp) 129
506 144: 6(float) Load 143
510 10(@main():8(PS_OUTPUT) Function None 9
512 13(txval10): 12(ptr) Variable Function
513 33(txval11): 32(ptr) Variable Function
514 47(txval12): 46(ptr) Variable Function
515 58(txval20): 12(ptr) Variable Function
516 69(txval21): 32(ptr) Variable Function
517 79(txval22): 46(ptr) Variable Function
518 91(txval40): 12(ptr) Variable Function
519 101(txval41): 32(ptr) Variable Function
520 111(txval42): 46(ptr) Variable Function
521 125(psout): 124(ptr) Variable Function
522 17: 14 Load 16(g_tTex1df4)
523 21: 18 Load 20(g_sSamp)
524 23: 22 SampledImage 17 21
525 29: 7(fvec4) ImageSampleImplicitLod 23 27 Bias 28
527 37: 34 Load 36(g_tTex1di4)
528 38: 18 Load 20(g_sSamp)
529 40: 39 SampledImage 37 38
530 43: 31(ivec4) ImageSampleImplicitLod 40 42 Bias 28
532 51: 48 Load 50(g_tTex1du4)
533 52: 18 Load 20(g_sSamp)
534 54: 53 SampledImage 51 52
535 57: 45(ivec4) ImageSampleImplicitLod 54 56 Bias 28
537 62: 59 Load 61(g_tTex2df4)
538 63: 18 Load 20(g_sSamp)
539 65: 64 SampledImage 62 63
540 68: 7(fvec4) ImageSampleImplicitLod 65 67 Bias 28
542 73: 70 Load 72(g_tTex2di4)
543 74: 18 Load 20(g_sSamp)
544 76: 75 SampledImage 73 74
545 78: 31(ivec4) ImageSampleImplicitLod 76 77 Bias 28
547 83: 80 Load 82(g_tTex2du4)
548 84: 18 Load 20(g_sSamp)
549 86: 85 SampledImage 83 84
550 90: 45(ivec4) ImageSampleImplicitLod 86 89 Bias 28
552 95: 92 Load 94(g_tTexcdf4)
553 96: 18 Load 20(g_sSamp)
554 98: 97 SampledImage 95 96
555 100: 7(fvec4) ImageSampleImplicitLod 98 99 Bias 28
556 Store 91(txval40) 100
557 105: 102 Load 104(g_tTexcdi4)
558 106: 18 Load 20(g_sSamp)
559 108: 107 SampledImage 105 106
560 110: 31(ivec4) ImageSampleImplicitLod 108 109 Bias 28
561 Store 101(txval41) 110
562 115: 112 Load 114(g_tTexcdu4)
563 116: 18 Load 20(g_sSamp)
564 118: 117 SampledImage 115 116
565 123: 45(ivec4) ImageSampleImplicitLod 118 122 Bias 28
566 Store 111(txval42) 123
567 128: 12(ptr) AccessChain 125(psout) 126
569 131: 130(ptr) AccessChain 125(psout) 129
571 132:8(PS_OUTPUT) Load 125(psout)