1 hlsl.calculatelod.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:28 move second child to first child ( temp float)
10 0:28 'txval10' ( temp float)
11 0:28 direct index ( temp float)
12 0:? textureQueryLod ( temp float)
13 0:28 Construct combined texture-sampler ( temp sampler1DArray)
14 0:28 'g_tTex1df4a' (layout( binding=1) uniform texture1DArray)
15 0:28 'g_sSamp' (layout( binding=0) uniform sampler)
21 0:29 move second child to first child ( temp float)
22 0:29 'txval11' ( temp float)
23 0:29 direct index ( temp float)
24 0:? textureQueryLod ( temp float)
25 0:29 Construct combined texture-sampler ( temp isampler1DArray)
26 0:29 'g_tTex1di4a' ( uniform itexture1DArray)
27 0:29 'g_sSamp' (layout( binding=0) uniform sampler)
33 0:30 move second child to first child ( temp float)
34 0:30 'txval12' ( temp float)
35 0:30 direct index ( temp float)
36 0:? textureQueryLod ( temp float)
37 0:30 Construct combined texture-sampler ( temp usampler1DArray)
38 0:30 'g_tTex1du4a' ( uniform utexture1DArray)
39 0:30 'g_sSamp' (layout( binding=0) uniform sampler)
45 0:32 move second child to first child ( temp float)
46 0:32 'txval20' ( temp float)
47 0:32 direct index ( temp float)
48 0:? textureQueryLod ( temp float)
49 0:32 Construct combined texture-sampler ( temp sampler2DArray)
50 0:32 'g_tTex2df4a' ( uniform texture2DArray)
51 0:32 'g_sSamp' (layout( binding=0) uniform sampler)
58 0:33 move second child to first child ( temp float)
59 0:33 'txval21' ( temp float)
60 0:33 direct index ( temp float)
61 0:? textureQueryLod ( temp float)
62 0:33 Construct combined texture-sampler ( temp isampler2DArray)
63 0:33 'g_tTex2di4a' ( uniform itexture2DArray)
64 0:33 'g_sSamp' (layout( binding=0) uniform sampler)
71 0:34 move second child to first child ( temp float)
72 0:34 'txval22' ( temp float)
73 0:34 direct index ( temp float)
74 0:? textureQueryLod ( temp float)
75 0:34 Construct combined texture-sampler ( temp usampler2DArray)
76 0:34 'g_tTex2du4a' ( uniform utexture2DArray)
77 0:34 'g_sSamp' (layout( binding=0) uniform sampler)
84 0:36 move second child to first child ( temp float)
85 0:36 'txval40' ( temp float)
86 0:36 direct index ( temp float)
87 0:? textureQueryLod ( temp float)
88 0:36 Construct combined texture-sampler ( temp samplerCubeArray)
89 0:36 'g_tTexcdf4a' ( uniform textureCubeArray)
90 0:36 'g_sSamp' (layout( binding=0) uniform sampler)
98 0:37 move second child to first child ( temp float)
99 0:37 'txval41' ( temp float)
100 0:37 direct index ( temp float)
101 0:? textureQueryLod ( temp float)
102 0:37 Construct combined texture-sampler ( temp isamplerCubeArray)
103 0:37 'g_tTexcdi4a' ( uniform itextureCubeArray)
104 0:37 'g_sSamp' (layout( binding=0) uniform sampler)
112 0:38 move second child to first child ( temp float)
113 0:38 'txval42' ( temp float)
114 0:38 direct index ( temp float)
115 0:? textureQueryLod ( temp float)
116 0:38 Construct combined texture-sampler ( temp usamplerCubeArray)
117 0:38 'g_tTexcdu4a' ( uniform utextureCubeArray)
118 0:38 'g_sSamp' (layout( binding=0) uniform sampler)
125 0:40 move second child to first child ( temp 4-component vector of float)
126 0:40 Color: direct index for structure ( temp 4-component vector of float)
127 0:40 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
135 0:41 move second child to first child ( temp float)
136 0:41 Depth: direct index for structure ( temp float)
137 0:41 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
142 0:43 Branch: Return with expression
143 0:43 '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_tTex1di4a' ( uniform itexture1DArray)
168 0:? 'g_tTex1du4a' ( uniform utexture1DArray)
169 0:? 'g_tTex2df4a' ( uniform texture2DArray)
170 0:? 'g_tTex2di4a' ( uniform itexture2DArray)
171 0:? 'g_tTex2du4a' ( uniform utexture2DArray)
172 0:? 'g_tTexcdf4a' ( uniform textureCubeArray)
173 0:? 'g_tTexcdi4a' ( uniform itextureCubeArray)
174 0:? 'g_tTexcdu4a' ( 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:28 move second child to first child ( temp float)
190 0:28 'txval10' ( temp float)
191 0:28 direct index ( temp float)
192 0:? textureQueryLod ( temp float)
193 0:28 Construct combined texture-sampler ( temp sampler1DArray)
194 0:28 'g_tTex1df4a' (layout( binding=1) uniform texture1DArray)
195 0:28 'g_sSamp' (layout( binding=0) uniform sampler)
201 0:29 move second child to first child ( temp float)
202 0:29 'txval11' ( temp float)
203 0:29 direct index ( temp float)
204 0:? textureQueryLod ( temp float)
205 0:29 Construct combined texture-sampler ( temp isampler1DArray)
206 0:29 'g_tTex1di4a' ( uniform itexture1DArray)
207 0:29 'g_sSamp' (layout( binding=0) uniform sampler)
213 0:30 move second child to first child ( temp float)
214 0:30 'txval12' ( temp float)
215 0:30 direct index ( temp float)
216 0:? textureQueryLod ( temp float)
217 0:30 Construct combined texture-sampler ( temp usampler1DArray)
218 0:30 'g_tTex1du4a' ( uniform utexture1DArray)
219 0:30 'g_sSamp' (layout( binding=0) uniform sampler)
225 0:32 move second child to first child ( temp float)
226 0:32 'txval20' ( temp float)
227 0:32 direct index ( temp float)
228 0:? textureQueryLod ( temp float)
229 0:32 Construct combined texture-sampler ( temp sampler2DArray)
230 0:32 'g_tTex2df4a' ( uniform texture2DArray)
231 0:32 'g_sSamp' (layout( binding=0) uniform sampler)
238 0:33 move second child to first child ( temp float)
239 0:33 'txval21' ( temp float)
240 0:33 direct index ( temp float)
241 0:? textureQueryLod ( temp float)
242 0:33 Construct combined texture-sampler ( temp isampler2DArray)
243 0:33 'g_tTex2di4a' ( uniform itexture2DArray)
244 0:33 'g_sSamp' (layout( binding=0) uniform sampler)
251 0:34 move second child to first child ( temp float)
252 0:34 'txval22' ( temp float)
253 0:34 direct index ( temp float)
254 0:? textureQueryLod ( temp float)
255 0:34 Construct combined texture-sampler ( temp usampler2DArray)
256 0:34 'g_tTex2du4a' ( uniform utexture2DArray)
257 0:34 'g_sSamp' (layout( binding=0) uniform sampler)
264 0:36 move second child to first child ( temp float)
265 0:36 'txval40' ( temp float)
266 0:36 direct index ( temp float)
267 0:? textureQueryLod ( temp float)
268 0:36 Construct combined texture-sampler ( temp samplerCubeArray)
269 0:36 'g_tTexcdf4a' ( uniform textureCubeArray)
270 0:36 'g_sSamp' (layout( binding=0) uniform sampler)
278 0:37 move second child to first child ( temp float)
279 0:37 'txval41' ( temp float)
280 0:37 direct index ( temp float)
281 0:? textureQueryLod ( temp float)
282 0:37 Construct combined texture-sampler ( temp isamplerCubeArray)
283 0:37 'g_tTexcdi4a' ( uniform itextureCubeArray)
284 0:37 'g_sSamp' (layout( binding=0) uniform sampler)
292 0:38 move second child to first child ( temp float)
293 0:38 'txval42' ( temp float)
294 0:38 direct index ( temp float)
295 0:? textureQueryLod ( temp float)
296 0:38 Construct combined texture-sampler ( temp usamplerCubeArray)
297 0:38 'g_tTexcdu4a' ( uniform utextureCubeArray)
298 0:38 'g_sSamp' (layout( binding=0) uniform sampler)
305 0:40 move second child to first child ( temp 4-component vector of float)
306 0:40 Color: direct index for structure ( temp 4-component vector of float)
307 0:40 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
315 0:41 move second child to first child ( temp float)
316 0:41 Depth: direct index for structure ( temp float)
317 0:41 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
322 0:43 Branch: Return with expression
323 0:43 '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_tTex1di4a' ( uniform itexture1DArray)
348 0:? 'g_tTex1du4a' ( uniform utexture1DArray)
349 0:? 'g_tTex2df4a' ( uniform texture2DArray)
350 0:? 'g_tTex2di4a' ( uniform itexture2DArray)
351 0:? 'g_tTex2du4a' ( uniform utexture2DArray)
352 0:? 'g_tTexcdf4a' ( uniform textureCubeArray)
353 0:? 'g_tTexcdi4a' ( uniform itextureCubeArray)
354 0:? 'g_tTexcdu4a' ( 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 148
364 Capability SampledCubeArray
365 Capability ImageQuery
366 1: ExtInstImport "GLSL.std.450"
367 MemoryModel Logical GLSL450
368 EntryPoint Fragment 4 "main" 140 144
369 ExecutionMode 4 OriginUpperLeft
372 MemberName 8(PS_OUTPUT) 0 "Color"
373 MemberName 8(PS_OUTPUT) 1 "Depth"
376 Name 16 "g_tTex1df4a"
379 Name 33 "g_tTex1di4a"
381 Name 45 "g_tTex1du4a"
383 Name 56 "g_tTex2df4a"
385 Name 67 "g_tTex2di4a"
387 Name 79 "g_tTex2du4a"
389 Name 92 "g_tTexcdf4a"
391 Name 104 "g_tTexcdi4a"
393 Name 115 "g_tTexcdu4a"
395 Name 137 "flattenTemp"
398 Name 147 "g_tTex1df4"
399 Decorate 16(g_tTex1df4a) DescriptorSet 0
400 Decorate 16(g_tTex1df4a) Binding 1
401 Decorate 20(g_sSamp) DescriptorSet 0
402 Decorate 20(g_sSamp) Binding 0
403 Decorate 33(g_tTex1di4a) DescriptorSet 0
404 Decorate 45(g_tTex1du4a) DescriptorSet 0
405 Decorate 56(g_tTex2df4a) DescriptorSet 0
406 Decorate 67(g_tTex2di4a) DescriptorSet 0
407 Decorate 79(g_tTex2du4a) DescriptorSet 0
408 Decorate 92(g_tTexcdf4a) DescriptorSet 0
409 Decorate 104(g_tTexcdi4a) DescriptorSet 0
410 Decorate 115(g_tTexcdu4a) DescriptorSet 0
411 Decorate 140(Color) Location 0
412 Decorate 144(Depth) BuiltIn FragDepth
413 Decorate 147(g_tTex1df4) DescriptorSet 0
414 Decorate 147(g_tTex1df4) Binding 0
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 6(float)
422 14: TypeImage 6(float) 1D array sampled format:Unknown
423 15: TypePointer UniformConstant 14
424 16(g_tTex1df4a): 15(ptr) Variable UniformConstant
426 19: TypePointer UniformConstant 18
427 20(g_sSamp): 19(ptr) Variable UniformConstant
428 22: TypeSampledImage 14
429 24: 6(float) Constant 1036831949
430 25: TypeVector 6(float) 2
432 28: 27(int) Constant 0
433 31: TypeImage 27(int) 1D array sampled format:Unknown
434 32: TypePointer UniformConstant 31
435 33(g_tTex1di4a): 32(ptr) Variable UniformConstant
436 36: TypeSampledImage 31
437 38: 6(float) Constant 1045220557
439 43: TypeImage 42(int) 1D array sampled format:Unknown
440 44: TypePointer UniformConstant 43
441 45(g_tTex1du4a): 44(ptr) Variable UniformConstant
442 48: TypeSampledImage 43
443 50: 6(float) Constant 1050253722
444 54: TypeImage 6(float) 2D array sampled format:Unknown
445 55: TypePointer UniformConstant 54
446 56(g_tTex2df4a): 55(ptr) Variable UniformConstant
447 59: TypeSampledImage 54
448 61: 25(fvec2) ConstantComposite 24 38
449 65: TypeImage 27(int) 2D array sampled format:Unknown
450 66: TypePointer UniformConstant 65
451 67(g_tTex2di4a): 66(ptr) Variable UniformConstant
452 70: TypeSampledImage 65
453 72: 6(float) Constant 1053609165
454 73: 25(fvec2) ConstantComposite 50 72
455 77: TypeImage 42(int) 2D array sampled format:Unknown
456 78: TypePointer UniformConstant 77
457 79(g_tTex2du4a): 78(ptr) Variable UniformConstant
458 82: TypeSampledImage 77
459 84: 6(float) Constant 1056964608
460 85: 6(float) Constant 1058642330
461 86: 25(fvec2) ConstantComposite 84 85
462 90: TypeImage 6(float) Cube array sampled format:Unknown
463 91: TypePointer UniformConstant 90
464 92(g_tTexcdf4a): 91(ptr) Variable UniformConstant
465 95: TypeSampledImage 90
466 97: TypeVector 6(float) 3
467 98: 97(fvec3) ConstantComposite 24 38 50
468 102: TypeImage 27(int) Cube array sampled format:Unknown
469 103: TypePointer UniformConstant 102
470 104(g_tTexcdi4a): 103(ptr) Variable UniformConstant
471 107: TypeSampledImage 102
472 109: 97(fvec3) ConstantComposite 72 84 85
473 113: TypeImage 42(int) Cube array sampled format:Unknown
474 114: TypePointer UniformConstant 113
475 115(g_tTexcdu4a): 114(ptr) Variable UniformConstant
476 118: TypeSampledImage 113
477 120: 6(float) Constant 1060320051
478 121: 6(float) Constant 1061997773
479 122: 6(float) Constant 1063675494
480 123: 97(fvec3) ConstantComposite 120 121 122
481 126: TypePointer Function 8(PS_OUTPUT)
482 128: 6(float) Constant 1065353216
483 129: 7(fvec4) ConstantComposite 128 128 128 128
484 130: TypePointer Function 7(fvec4)
485 132: 27(int) Constant 1
486 139: TypePointer Output 7(fvec4)
487 140(Color): 139(ptr) Variable Output
488 143: TypePointer Output 6(float)
489 144(Depth): 143(ptr) Variable Output
490 147(g_tTex1df4): 15(ptr) Variable UniformConstant
491 4(main): 2 Function None 3
493 137(flattenTemp): 126(ptr) Variable Function
494 138:8(PS_OUTPUT) FunctionCall 10(@main()
495 Store 137(flattenTemp) 138
496 141: 130(ptr) AccessChain 137(flattenTemp) 28
497 142: 7(fvec4) Load 141
499 145: 12(ptr) AccessChain 137(flattenTemp) 132
500 146: 6(float) Load 145
504 10(@main():8(PS_OUTPUT) Function None 9
506 13(txval10): 12(ptr) Variable Function
507 30(txval11): 12(ptr) Variable Function
508 41(txval12): 12(ptr) Variable Function
509 53(txval20): 12(ptr) Variable Function
510 64(txval21): 12(ptr) Variable Function
511 76(txval22): 12(ptr) Variable Function
512 89(txval40): 12(ptr) Variable Function
513 101(txval41): 12(ptr) Variable Function
514 112(txval42): 12(ptr) Variable Function
515 127(psout): 126(ptr) Variable Function
516 17: 14 Load 16(g_tTex1df4a)
517 21: 18 Load 20(g_sSamp)
518 23: 22 SampledImage 17 21
519 26: 25(fvec2) ImageQueryLod 23 24
520 29: 6(float) CompositeExtract 26 0
522 34: 31 Load 33(g_tTex1di4a)
523 35: 18 Load 20(g_sSamp)
524 37: 36 SampledImage 34 35
525 39: 25(fvec2) ImageQueryLod 37 38
526 40: 6(float) CompositeExtract 39 0
528 46: 43 Load 45(g_tTex1du4a)
529 47: 18 Load 20(g_sSamp)
530 49: 48 SampledImage 46 47
531 51: 25(fvec2) ImageQueryLod 49 50
532 52: 6(float) CompositeExtract 51 0
534 57: 54 Load 56(g_tTex2df4a)
535 58: 18 Load 20(g_sSamp)
536 60: 59 SampledImage 57 58
537 62: 25(fvec2) ImageQueryLod 60 61
538 63: 6(float) CompositeExtract 62 0
540 68: 65 Load 67(g_tTex2di4a)
541 69: 18 Load 20(g_sSamp)
542 71: 70 SampledImage 68 69
543 74: 25(fvec2) ImageQueryLod 71 73
544 75: 6(float) CompositeExtract 74 0
546 80: 77 Load 79(g_tTex2du4a)
547 81: 18 Load 20(g_sSamp)
548 83: 82 SampledImage 80 81
549 87: 25(fvec2) ImageQueryLod 83 86
550 88: 6(float) CompositeExtract 87 0
552 93: 90 Load 92(g_tTexcdf4a)
553 94: 18 Load 20(g_sSamp)
554 96: 95 SampledImage 93 94
555 99: 25(fvec2) ImageQueryLod 96 98
556 100: 6(float) CompositeExtract 99 0
557 Store 89(txval40) 100
558 105: 102 Load 104(g_tTexcdi4a)
559 106: 18 Load 20(g_sSamp)
560 108: 107 SampledImage 105 106
561 110: 25(fvec2) ImageQueryLod 108 109
562 111: 6(float) CompositeExtract 110 0
563 Store 101(txval41) 111
564 116: 113 Load 115(g_tTexcdu4a)
565 117: 18 Load 20(g_sSamp)
566 119: 118 SampledImage 116 117
567 124: 25(fvec2) ImageQueryLod 119 123
568 125: 6(float) CompositeExtract 124 0
569 Store 112(txval42) 125
570 131: 130(ptr) AccessChain 127(psout) 28
572 133: 12(ptr) AccessChain 127(psout) 132
574 134:8(PS_OUTPUT) Load 127(psout)