1 hlsl.samplelevel.offset.dx10.frag
3 gl_FragCoord origin is upper left
5 0:28 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
6 0:28 Function Parameters:
9 0:31 move second child to first child ( temp 4-component vector of float)
10 0:31 'txval10' ( temp 4-component vector of float)
11 0:31 textureLodOffset ( temp 4-component vector of float)
12 0:31 Construct combined texture-sampler ( temp sampler1D)
13 0:31 'g_tTex1df4' (layout( binding=0) uniform texture1D)
14 0:31 'g_sSamp' (layout( binding=0) uniform sampler)
22 0:32 move second child to first child ( temp 4-component vector of int)
23 0:32 'txval11' ( temp 4-component vector of int)
24 0:32 textureLodOffset ( temp 4-component vector of int)
25 0:32 Construct combined texture-sampler ( temp isampler1D)
26 0:32 'g_tTex1di4' ( uniform itexture1D)
27 0:32 'g_sSamp' (layout( binding=0) uniform sampler)
35 0:33 move second child to first child ( temp 4-component vector of uint)
36 0:33 'txval12' ( temp 4-component vector of uint)
37 0:33 textureLodOffset ( temp 4-component vector of uint)
38 0:33 Construct combined texture-sampler ( temp usampler1D)
39 0:33 'g_tTex1du4' ( uniform utexture1D)
40 0:33 'g_sSamp' (layout( binding=0) uniform sampler)
48 0:35 move second child to first child ( temp 4-component vector of float)
49 0:35 'txval20' ( temp 4-component vector of float)
50 0:35 textureLodOffset ( temp 4-component vector of float)
51 0:35 Construct combined texture-sampler ( temp sampler2D)
52 0:35 'g_tTex2df4' ( uniform texture2D)
53 0:35 'g_sSamp' (layout( binding=0) uniform sampler)
63 0:36 move second child to first child ( temp 4-component vector of int)
64 0:36 'txval21' ( temp 4-component vector of int)
65 0:36 textureLodOffset ( temp 4-component vector of int)
66 0:36 Construct combined texture-sampler ( temp isampler2D)
67 0:36 'g_tTex2di4' ( uniform itexture2D)
68 0:36 'g_sSamp' (layout( binding=0) uniform sampler)
78 0:37 move second child to first child ( temp 4-component vector of uint)
79 0:37 'txval22' ( temp 4-component vector of uint)
80 0:37 textureLodOffset ( temp 4-component vector of uint)
81 0:37 Construct combined texture-sampler ( temp usampler2D)
82 0:37 'g_tTex2du4' ( uniform utexture2D)
83 0:37 'g_sSamp' (layout( binding=0) uniform sampler)
93 0:39 move second child to first child ( temp 4-component vector of float)
94 0:39 'txval30' ( temp 4-component vector of float)
95 0:39 textureLodOffset ( temp 4-component vector of float)
96 0:39 Construct combined texture-sampler ( temp sampler3D)
97 0:39 'g_tTex3df4' ( uniform texture3D)
98 0:39 'g_sSamp' (layout( binding=0) uniform sampler)
110 0:40 move second child to first child ( temp 4-component vector of int)
111 0:40 'txval31' ( temp 4-component vector of int)
112 0:40 textureLodOffset ( temp 4-component vector of int)
113 0:40 Construct combined texture-sampler ( temp isampler3D)
114 0:40 'g_tTex3di4' ( uniform itexture3D)
115 0:40 'g_sSamp' (layout( binding=0) uniform sampler)
127 0:41 move second child to first child ( temp 4-component vector of uint)
128 0:41 'txval32' ( temp 4-component vector of uint)
129 0:41 textureLodOffset ( temp 4-component vector of uint)
130 0:41 Construct combined texture-sampler ( temp usampler3D)
131 0:41 'g_tTex3du4' ( uniform utexture3D)
132 0:41 'g_sSamp' (layout( binding=0) uniform sampler)
143 0:45 move second child to first child ( temp 4-component vector of float)
144 0:45 Color: direct index for structure ( temp 4-component vector of float)
145 0:45 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
153 0:46 move second child to first child ( temp float)
154 0:46 Depth: direct index for structure ( temp float)
155 0:46 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
160 0:48 Branch: Return with expression
161 0:48 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
162 0:28 Function Definition: main( ( temp void)
163 0:28 Function Parameters:
166 0:28 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
167 0:28 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
168 0:28 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
169 0:28 move second child to first child ( temp 4-component vector of float)
170 0:? 'Color' (layout( location=0) out 4-component vector of float)
171 0:28 Color: direct index for structure ( temp 4-component vector of float)
172 0:28 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
175 0:28 move second child to first child ( temp float)
176 0:? 'Depth' ( out float FragDepth)
177 0:28 Depth: direct index for structure ( temp float)
178 0:28 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
182 0:? 'g_sSamp' (layout( binding=0) uniform sampler)
183 0:? 'g_tTex1df4a' (layout( binding=1) uniform texture1D)
184 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1D)
185 0:? 'g_tTex1di4' ( uniform itexture1D)
186 0:? 'g_tTex1du4' ( uniform utexture1D)
187 0:? 'g_tTex2df4' ( uniform texture2D)
188 0:? 'g_tTex2di4' ( uniform itexture2D)
189 0:? 'g_tTex2du4' ( uniform utexture2D)
190 0:? 'g_tTex3df4' ( uniform texture3D)
191 0:? 'g_tTex3di4' ( uniform itexture3D)
192 0:? 'g_tTex3du4' ( uniform utexture3D)
193 0:? 'g_tTexcdf4' ( uniform textureCube)
194 0:? 'g_tTexcdi4' ( uniform itextureCube)
195 0:? 'g_tTexcdu4' ( uniform utextureCube)
196 0:? 'Color' (layout( location=0) out 4-component vector of float)
197 0:? 'Depth' ( out float FragDepth)
200 Linked fragment stage:
204 gl_FragCoord origin is upper left
206 0:28 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
207 0:28 Function Parameters:
210 0:31 move second child to first child ( temp 4-component vector of float)
211 0:31 'txval10' ( temp 4-component vector of float)
212 0:31 textureLodOffset ( temp 4-component vector of float)
213 0:31 Construct combined texture-sampler ( temp sampler1D)
214 0:31 'g_tTex1df4' (layout( binding=0) uniform texture1D)
215 0:31 'g_sSamp' (layout( binding=0) uniform sampler)
223 0:32 move second child to first child ( temp 4-component vector of int)
224 0:32 'txval11' ( temp 4-component vector of int)
225 0:32 textureLodOffset ( temp 4-component vector of int)
226 0:32 Construct combined texture-sampler ( temp isampler1D)
227 0:32 'g_tTex1di4' ( uniform itexture1D)
228 0:32 'g_sSamp' (layout( binding=0) uniform sampler)
236 0:33 move second child to first child ( temp 4-component vector of uint)
237 0:33 'txval12' ( temp 4-component vector of uint)
238 0:33 textureLodOffset ( temp 4-component vector of uint)
239 0:33 Construct combined texture-sampler ( temp usampler1D)
240 0:33 'g_tTex1du4' ( uniform utexture1D)
241 0:33 'g_sSamp' (layout( binding=0) uniform sampler)
249 0:35 move second child to first child ( temp 4-component vector of float)
250 0:35 'txval20' ( temp 4-component vector of float)
251 0:35 textureLodOffset ( temp 4-component vector of float)
252 0:35 Construct combined texture-sampler ( temp sampler2D)
253 0:35 'g_tTex2df4' ( uniform texture2D)
254 0:35 'g_sSamp' (layout( binding=0) uniform sampler)
264 0:36 move second child to first child ( temp 4-component vector of int)
265 0:36 'txval21' ( temp 4-component vector of int)
266 0:36 textureLodOffset ( temp 4-component vector of int)
267 0:36 Construct combined texture-sampler ( temp isampler2D)
268 0:36 'g_tTex2di4' ( uniform itexture2D)
269 0:36 'g_sSamp' (layout( binding=0) uniform sampler)
279 0:37 move second child to first child ( temp 4-component vector of uint)
280 0:37 'txval22' ( temp 4-component vector of uint)
281 0:37 textureLodOffset ( temp 4-component vector of uint)
282 0:37 Construct combined texture-sampler ( temp usampler2D)
283 0:37 'g_tTex2du4' ( uniform utexture2D)
284 0:37 'g_sSamp' (layout( binding=0) uniform sampler)
294 0:39 move second child to first child ( temp 4-component vector of float)
295 0:39 'txval30' ( temp 4-component vector of float)
296 0:39 textureLodOffset ( temp 4-component vector of float)
297 0:39 Construct combined texture-sampler ( temp sampler3D)
298 0:39 'g_tTex3df4' ( uniform texture3D)
299 0:39 'g_sSamp' (layout( binding=0) uniform sampler)
311 0:40 move second child to first child ( temp 4-component vector of int)
312 0:40 'txval31' ( temp 4-component vector of int)
313 0:40 textureLodOffset ( temp 4-component vector of int)
314 0:40 Construct combined texture-sampler ( temp isampler3D)
315 0:40 'g_tTex3di4' ( uniform itexture3D)
316 0:40 'g_sSamp' (layout( binding=0) uniform sampler)
328 0:41 move second child to first child ( temp 4-component vector of uint)
329 0:41 'txval32' ( temp 4-component vector of uint)
330 0:41 textureLodOffset ( temp 4-component vector of uint)
331 0:41 Construct combined texture-sampler ( temp usampler3D)
332 0:41 'g_tTex3du4' ( uniform utexture3D)
333 0:41 'g_sSamp' (layout( binding=0) uniform sampler)
344 0:45 move second child to first child ( temp 4-component vector of float)
345 0:45 Color: direct index for structure ( temp 4-component vector of float)
346 0:45 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
354 0:46 move second child to first child ( temp float)
355 0:46 Depth: direct index for structure ( temp float)
356 0:46 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
361 0:48 Branch: Return with expression
362 0:48 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
363 0:28 Function Definition: main( ( temp void)
364 0:28 Function Parameters:
367 0:28 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
368 0:28 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
369 0:28 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
370 0:28 move second child to first child ( temp 4-component vector of float)
371 0:? 'Color' (layout( location=0) out 4-component vector of float)
372 0:28 Color: direct index for structure ( temp 4-component vector of float)
373 0:28 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
376 0:28 move second child to first child ( temp float)
377 0:? 'Depth' ( out float FragDepth)
378 0:28 Depth: direct index for structure ( temp float)
379 0:28 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
383 0:? 'g_sSamp' (layout( binding=0) uniform sampler)
384 0:? 'g_tTex1df4a' (layout( binding=1) uniform texture1D)
385 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1D)
386 0:? 'g_tTex1di4' ( uniform itexture1D)
387 0:? 'g_tTex1du4' ( uniform utexture1D)
388 0:? 'g_tTex2df4' ( uniform texture2D)
389 0:? 'g_tTex2di4' ( uniform itexture2D)
390 0:? 'g_tTex2du4' ( uniform utexture2D)
391 0:? 'g_tTex3df4' ( uniform texture3D)
392 0:? 'g_tTex3di4' ( uniform itexture3D)
393 0:? 'g_tTex3du4' ( uniform utexture3D)
394 0:? 'g_tTexcdf4' ( uniform textureCube)
395 0:? 'g_tTexcdi4' ( uniform itextureCube)
396 0:? 'g_tTexcdu4' ( uniform utextureCube)
397 0:? 'Color' (layout( location=0) out 4-component vector of float)
398 0:? 'Depth' ( out float FragDepth)
400 // Module Version 10000
401 // Generated by (magic number): 80001
402 // Id's are bound by 162
406 1: ExtInstImport "GLSL.std.450"
407 MemoryModel Logical GLSL450
408 EntryPoint Fragment 4 "main" 145 149
409 ExecutionMode 4 OriginUpperLeft
412 MemberName 8(PS_OUTPUT) 0 "Color"
413 MemberName 8(PS_OUTPUT) 1 "Depth"
431 Name 110 "g_tTex3di4"
433 Name 121 "g_tTex3du4"
435 Name 142 "flattenTemp"
438 Name 152 "g_tTex1df4a"
439 Name 155 "g_tTexcdf4"
440 Name 158 "g_tTexcdi4"
441 Name 161 "g_tTexcdu4"
442 Decorate 16(g_tTex1df4) DescriptorSet 0
443 Decorate 16(g_tTex1df4) Binding 0
444 Decorate 20(g_sSamp) DescriptorSet 0
445 Decorate 20(g_sSamp) Binding 0
446 Decorate 34(g_tTex1di4) DescriptorSet 0
447 Decorate 47(g_tTex1du4) DescriptorSet 0
448 Decorate 57(g_tTex2df4) DescriptorSet 0
449 Decorate 71(g_tTex2di4) DescriptorSet 0
450 Decorate 83(g_tTex2du4) DescriptorSet 0
451 Decorate 97(g_tTex3df4) DescriptorSet 0
452 Decorate 110(g_tTex3di4) DescriptorSet 0
453 Decorate 121(g_tTex3du4) DescriptorSet 0
454 Decorate 145(Color) Location 0
455 Decorate 149(Depth) BuiltIn FragDepth
456 Decorate 152(g_tTex1df4a) DescriptorSet 0
457 Decorate 152(g_tTex1df4a) Binding 1
458 Decorate 155(g_tTexcdf4) DescriptorSet 0
459 Decorate 158(g_tTexcdi4) DescriptorSet 0
460 Decorate 161(g_tTexcdu4) DescriptorSet 0
464 7: TypeVector 6(float) 4
465 8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float)
466 9: TypeFunction 8(PS_OUTPUT)
467 12: TypePointer Function 7(fvec4)
468 14: TypeImage 6(float) 1D sampled format:Unknown
469 15: TypePointer UniformConstant 14
470 16(g_tTex1df4): 15(ptr) Variable UniformConstant
472 19: TypePointer UniformConstant 18
473 20(g_sSamp): 19(ptr) Variable UniformConstant
474 22: TypeSampledImage 14
475 24: 6(float) Constant 1036831949
476 25: 6(float) Constant 1061158912
478 27: 26(int) Constant 1
479 29: TypeVector 26(int) 4
480 30: TypePointer Function 29(ivec4)
481 32: TypeImage 26(int) 1D sampled format:Unknown
482 33: TypePointer UniformConstant 32
483 34(g_tTex1di4): 33(ptr) Variable UniformConstant
484 37: TypeSampledImage 32
485 39: 6(float) Constant 1045220557
487 42: TypeVector 41(int) 4
488 43: TypePointer Function 42(ivec4)
489 45: TypeImage 41(int) 1D sampled format:Unknown
490 46: TypePointer UniformConstant 45
491 47(g_tTex1du4): 46(ptr) Variable UniformConstant
492 50: TypeSampledImage 45
493 52: 6(float) Constant 1050253722
494 55: TypeImage 6(float) 2D sampled format:Unknown
495 56: TypePointer UniformConstant 55
496 57(g_tTex2df4): 56(ptr) Variable UniformConstant
497 60: TypeSampledImage 55
498 62: TypeVector 6(float) 2
499 63: 62(fvec2) ConstantComposite 24 39
500 64: TypeVector 26(int) 2
501 65: 26(int) Constant 0
502 66: 64(ivec2) ConstantComposite 27 65
503 69: TypeImage 26(int) 2D sampled format:Unknown
504 70: TypePointer UniformConstant 69
505 71(g_tTex2di4): 70(ptr) Variable UniformConstant
506 74: TypeSampledImage 69
507 76: 6(float) Constant 1053609165
508 77: 62(fvec2) ConstantComposite 52 76
509 78: 64(ivec2) ConstantComposite 27 27
510 81: TypeImage 41(int) 2D sampled format:Unknown
511 82: TypePointer UniformConstant 81
512 83(g_tTex2du4): 82(ptr) Variable UniformConstant
513 86: TypeSampledImage 81
514 88: 6(float) Constant 1056964608
515 89: 6(float) Constant 1058642330
516 90: 62(fvec2) ConstantComposite 88 89
517 91: 26(int) Constant 4294967295
518 92: 64(ivec2) ConstantComposite 27 91
519 95: TypeImage 6(float) 3D sampled format:Unknown
520 96: TypePointer UniformConstant 95
521 97(g_tTex3df4): 96(ptr) Variable UniformConstant
522 100: TypeSampledImage 95
523 102: TypeVector 6(float) 3
524 103: 102(fvec3) ConstantComposite 24 39 52
525 104: TypeVector 26(int) 3
526 105: 104(ivec3) ConstantComposite 27 65 27
527 108: TypeImage 26(int) 3D sampled format:Unknown
528 109: TypePointer UniformConstant 108
529 110(g_tTex3di4): 109(ptr) Variable UniformConstant
530 113: TypeSampledImage 108
531 115: 102(fvec3) ConstantComposite 76 88 89
532 116: 104(ivec3) ConstantComposite 27 27 27
533 119: TypeImage 41(int) 3D sampled format:Unknown
534 120: TypePointer UniformConstant 119
535 121(g_tTex3du4): 120(ptr) Variable UniformConstant
536 124: TypeSampledImage 119
537 126: 6(float) Constant 1060320051
538 127: 6(float) Constant 1061997773
539 128: 6(float) Constant 1063675494
540 129: 102(fvec3) ConstantComposite 126 127 128
541 130: 104(ivec3) ConstantComposite 27 65 91
542 132: TypePointer Function 8(PS_OUTPUT)
543 134: 6(float) Constant 1065353216
544 135: 7(fvec4) ConstantComposite 134 134 134 134
545 137: TypePointer Function 6(float)
546 144: TypePointer Output 7(fvec4)
547 145(Color): 144(ptr) Variable Output
548 148: TypePointer Output 6(float)
549 149(Depth): 148(ptr) Variable Output
550 152(g_tTex1df4a): 15(ptr) Variable UniformConstant
551 153: TypeImage 6(float) Cube sampled format:Unknown
552 154: TypePointer UniformConstant 153
553 155(g_tTexcdf4): 154(ptr) Variable UniformConstant
554 156: TypeImage 26(int) Cube sampled format:Unknown
555 157: TypePointer UniformConstant 156
556 158(g_tTexcdi4): 157(ptr) Variable UniformConstant
557 159: TypeImage 41(int) Cube sampled format:Unknown
558 160: TypePointer UniformConstant 159
559 161(g_tTexcdu4): 160(ptr) Variable UniformConstant
560 4(main): 2 Function None 3
562 142(flattenTemp): 132(ptr) Variable Function
563 143:8(PS_OUTPUT) FunctionCall 10(@main()
564 Store 142(flattenTemp) 143
565 146: 12(ptr) AccessChain 142(flattenTemp) 65
566 147: 7(fvec4) Load 146
568 150: 137(ptr) AccessChain 142(flattenTemp) 27
569 151: 6(float) Load 150
573 10(@main():8(PS_OUTPUT) Function None 9
575 13(txval10): 12(ptr) Variable Function
576 31(txval11): 30(ptr) Variable Function
577 44(txval12): 43(ptr) Variable Function
578 54(txval20): 12(ptr) Variable Function
579 68(txval21): 30(ptr) Variable Function
580 80(txval22): 43(ptr) Variable Function
581 94(txval30): 12(ptr) Variable Function
582 107(txval31): 30(ptr) Variable Function
583 118(txval32): 43(ptr) Variable Function
584 133(psout): 132(ptr) Variable Function
585 17: 14 Load 16(g_tTex1df4)
586 21: 18 Load 20(g_sSamp)
587 23: 22 SampledImage 17 21
588 28: 7(fvec4) ImageSampleExplicitLod 23 24 Lod ConstOffset 25 27
590 35: 32 Load 34(g_tTex1di4)
591 36: 18 Load 20(g_sSamp)
592 38: 37 SampledImage 35 36
593 40: 29(ivec4) ImageSampleExplicitLod 38 39 Lod ConstOffset 25 27
595 48: 45 Load 47(g_tTex1du4)
596 49: 18 Load 20(g_sSamp)
597 51: 50 SampledImage 48 49
598 53: 42(ivec4) ImageSampleExplicitLod 51 52 Lod ConstOffset 25 27
600 58: 55 Load 57(g_tTex2df4)
601 59: 18 Load 20(g_sSamp)
602 61: 60 SampledImage 58 59
603 67: 7(fvec4) ImageSampleExplicitLod 61 63 Lod ConstOffset 25 66
605 72: 69 Load 71(g_tTex2di4)
606 73: 18 Load 20(g_sSamp)
607 75: 74 SampledImage 72 73
608 79: 29(ivec4) ImageSampleExplicitLod 75 77 Lod ConstOffset 25 78
610 84: 81 Load 83(g_tTex2du4)
611 85: 18 Load 20(g_sSamp)
612 87: 86 SampledImage 84 85
613 93: 42(ivec4) ImageSampleExplicitLod 87 90 Lod ConstOffset 25 92
615 98: 95 Load 97(g_tTex3df4)
616 99: 18 Load 20(g_sSamp)
617 101: 100 SampledImage 98 99
618 106: 7(fvec4) ImageSampleExplicitLod 101 103 Lod ConstOffset 25 105
619 Store 94(txval30) 106
620 111: 108 Load 110(g_tTex3di4)
621 112: 18 Load 20(g_sSamp)
622 114: 113 SampledImage 111 112
623 117: 29(ivec4) ImageSampleExplicitLod 114 115 Lod ConstOffset 25 116
624 Store 107(txval31) 117
625 122: 119 Load 121(g_tTex3du4)
626 123: 18 Load 20(g_sSamp)
627 125: 124 SampledImage 122 123
628 131: 42(ivec4) ImageSampleExplicitLod 125 129 Lod ConstOffset 25 130
629 Store 118(txval32) 131
630 136: 12(ptr) AccessChain 133(psout) 65
632 138: 137(ptr) AccessChain 133(psout) 27
634 139:8(PS_OUTPUT) Load 133(psout)