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