1 hlsl.sample.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 textureOffset ( 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)
20 0:32 move second child to first child ( temp 4-component vector of int)
21 0:32 'txval11' ( temp 4-component vector of int)
22 0:32 textureOffset ( temp 4-component vector of int)
23 0:32 Construct combined texture-sampler ( temp isampler1D)
24 0:32 'g_tTex1di4' ( uniform itexture1D)
25 0:32 'g_sSamp' (layout( binding=0) uniform sampler)
31 0:33 move second child to first child ( temp 4-component vector of uint)
32 0:33 'txval12' ( temp 4-component vector of uint)
33 0:33 textureOffset ( temp 4-component vector of uint)
34 0:33 Construct combined texture-sampler ( temp usampler1D)
35 0:33 'g_tTex1du4' ( uniform utexture1D)
36 0:33 'g_sSamp' (layout( binding=0) uniform sampler)
42 0:35 move second child to first child ( temp 4-component vector of float)
43 0:35 'txval20' ( temp 4-component vector of float)
44 0:35 textureOffset ( temp 4-component vector of float)
45 0:35 Construct combined texture-sampler ( temp sampler2D)
46 0:35 'g_tTex2df4' ( uniform texture2D)
47 0:35 'g_sSamp' (layout( binding=0) uniform sampler)
55 0:36 move second child to first child ( temp 4-component vector of int)
56 0:36 'txval21' ( temp 4-component vector of int)
57 0:36 textureOffset ( temp 4-component vector of int)
58 0:36 Construct combined texture-sampler ( temp isampler2D)
59 0:36 'g_tTex2di4' ( uniform itexture2D)
60 0:36 'g_sSamp' (layout( binding=0) uniform sampler)
68 0:37 move second child to first child ( temp 4-component vector of uint)
69 0:37 'txval22' ( temp 4-component vector of uint)
70 0:37 textureOffset ( temp 4-component vector of uint)
71 0:37 Construct combined texture-sampler ( temp usampler2D)
72 0:37 'g_tTex2du4' ( uniform utexture2D)
73 0:37 'g_sSamp' (layout( binding=0) uniform sampler)
81 0:39 move second child to first child ( temp 4-component vector of float)
82 0:39 'txval30' ( temp 4-component vector of float)
83 0:39 textureOffset ( temp 4-component vector of float)
84 0:39 Construct combined texture-sampler ( temp sampler3D)
85 0:39 'g_tTex3df4' ( uniform texture3D)
86 0:39 'g_sSamp' (layout( binding=0) uniform sampler)
96 0:40 move second child to first child ( temp 4-component vector of int)
97 0:40 'txval31' ( temp 4-component vector of int)
98 0:40 textureOffset ( temp 4-component vector of int)
99 0:40 Construct combined texture-sampler ( temp isampler3D)
100 0:40 'g_tTex3di4' ( uniform itexture3D)
101 0:40 'g_sSamp' (layout( binding=0) uniform sampler)
111 0:41 move second child to first child ( temp 4-component vector of uint)
112 0:41 'txval32' ( temp 4-component vector of uint)
113 0:41 textureOffset ( temp 4-component vector of uint)
114 0:41 Construct combined texture-sampler ( temp usampler3D)
115 0:41 'g_tTex3du4' ( uniform utexture3D)
116 0:41 'g_sSamp' (layout( binding=0) uniform sampler)
125 0:45 move second child to first child ( temp 4-component vector of float)
126 0:45 Color: direct index for structure ( temp 4-component vector of float)
127 0:45 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
135 0:46 move second child to first child ( temp float)
136 0:46 Depth: direct index for structure ( temp float)
137 0:46 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
142 0:48 Branch: Return with expression
143 0:48 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
144 0:28 Function Definition: main( ( temp void)
145 0:28 Function Parameters:
148 0:28 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
149 0:28 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
150 0:28 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
151 0:28 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:28 Color: direct index for structure ( temp 4-component vector of float)
154 0:28 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
157 0:28 move second child to first child ( temp float)
158 0:? 'Depth' ( out float FragDepth)
159 0:28 Depth: direct index for structure ( temp float)
160 0:28 '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 texture1D)
166 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1D)
167 0:? 'g_tTex1di4' ( uniform itexture1D)
168 0:? 'g_tTex1du4' ( uniform utexture1D)
169 0:? 'g_tTex2df4' ( uniform texture2D)
170 0:? 'g_tTex2di4' ( uniform itexture2D)
171 0:? 'g_tTex2du4' ( uniform utexture2D)
172 0:? 'g_tTex3df4' ( uniform texture3D)
173 0:? 'g_tTex3di4' ( uniform itexture3D)
174 0:? 'g_tTex3du4' ( uniform utexture3D)
175 0:? 'g_tTexcdf4' ( uniform textureCube)
176 0:? 'g_tTexcdi4' ( uniform itextureCube)
177 0:? 'g_tTexcdu4' ( uniform utextureCube)
178 0:? 'Color' (layout( location=0) out 4-component vector of float)
179 0:? 'Depth' ( out float FragDepth)
182 Linked fragment stage:
186 gl_FragCoord origin is upper left
188 0:28 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
189 0:28 Function Parameters:
192 0:31 move second child to first child ( temp 4-component vector of float)
193 0:31 'txval10' ( temp 4-component vector of float)
194 0:31 textureOffset ( temp 4-component vector of float)
195 0:31 Construct combined texture-sampler ( temp sampler1D)
196 0:31 'g_tTex1df4' (layout( binding=0) uniform texture1D)
197 0:31 'g_sSamp' (layout( binding=0) uniform sampler)
203 0:32 move second child to first child ( temp 4-component vector of int)
204 0:32 'txval11' ( temp 4-component vector of int)
205 0:32 textureOffset ( temp 4-component vector of int)
206 0:32 Construct combined texture-sampler ( temp isampler1D)
207 0:32 'g_tTex1di4' ( uniform itexture1D)
208 0:32 'g_sSamp' (layout( binding=0) uniform sampler)
214 0:33 move second child to first child ( temp 4-component vector of uint)
215 0:33 'txval12' ( temp 4-component vector of uint)
216 0:33 textureOffset ( temp 4-component vector of uint)
217 0:33 Construct combined texture-sampler ( temp usampler1D)
218 0:33 'g_tTex1du4' ( uniform utexture1D)
219 0:33 'g_sSamp' (layout( binding=0) uniform sampler)
225 0:35 move second child to first child ( temp 4-component vector of float)
226 0:35 'txval20' ( temp 4-component vector of float)
227 0:35 textureOffset ( temp 4-component vector of float)
228 0:35 Construct combined texture-sampler ( temp sampler2D)
229 0:35 'g_tTex2df4' ( uniform texture2D)
230 0:35 'g_sSamp' (layout( binding=0) uniform sampler)
238 0:36 move second child to first child ( temp 4-component vector of int)
239 0:36 'txval21' ( temp 4-component vector of int)
240 0:36 textureOffset ( temp 4-component vector of int)
241 0:36 Construct combined texture-sampler ( temp isampler2D)
242 0:36 'g_tTex2di4' ( uniform itexture2D)
243 0:36 'g_sSamp' (layout( binding=0) uniform sampler)
251 0:37 move second child to first child ( temp 4-component vector of uint)
252 0:37 'txval22' ( temp 4-component vector of uint)
253 0:37 textureOffset ( temp 4-component vector of uint)
254 0:37 Construct combined texture-sampler ( temp usampler2D)
255 0:37 'g_tTex2du4' ( uniform utexture2D)
256 0:37 'g_sSamp' (layout( binding=0) uniform sampler)
264 0:39 move second child to first child ( temp 4-component vector of float)
265 0:39 'txval30' ( temp 4-component vector of float)
266 0:39 textureOffset ( temp 4-component vector of float)
267 0:39 Construct combined texture-sampler ( temp sampler3D)
268 0:39 'g_tTex3df4' ( uniform texture3D)
269 0:39 'g_sSamp' (layout( binding=0) uniform sampler)
279 0:40 move second child to first child ( temp 4-component vector of int)
280 0:40 'txval31' ( temp 4-component vector of int)
281 0:40 textureOffset ( temp 4-component vector of int)
282 0:40 Construct combined texture-sampler ( temp isampler3D)
283 0:40 'g_tTex3di4' ( uniform itexture3D)
284 0:40 'g_sSamp' (layout( binding=0) uniform sampler)
294 0:41 move second child to first child ( temp 4-component vector of uint)
295 0:41 'txval32' ( temp 4-component vector of uint)
296 0:41 textureOffset ( temp 4-component vector of uint)
297 0:41 Construct combined texture-sampler ( temp usampler3D)
298 0:41 'g_tTex3du4' ( uniform utexture3D)
299 0:41 'g_sSamp' (layout( binding=0) uniform sampler)
308 0:45 move second child to first child ( temp 4-component vector of float)
309 0:45 Color: direct index for structure ( temp 4-component vector of float)
310 0:45 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
318 0:46 move second child to first child ( temp float)
319 0:46 Depth: direct index for structure ( temp float)
320 0:46 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
325 0:48 Branch: Return with expression
326 0:48 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
327 0:28 Function Definition: main( ( temp void)
328 0:28 Function Parameters:
331 0:28 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
332 0:28 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
333 0:28 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
334 0:28 move second child to first child ( temp 4-component vector of float)
335 0:? 'Color' (layout( location=0) out 4-component vector of float)
336 0:28 Color: direct index for structure ( temp 4-component vector of float)
337 0:28 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
340 0:28 move second child to first child ( temp float)
341 0:? 'Depth' ( out float FragDepth)
342 0:28 Depth: direct index for structure ( temp float)
343 0:28 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
347 0:? 'g_sSamp' (layout( binding=0) uniform sampler)
348 0:? 'g_tTex1df4a' (layout( binding=1) uniform texture1D)
349 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1D)
350 0:? 'g_tTex1di4' ( uniform itexture1D)
351 0:? 'g_tTex1du4' ( uniform utexture1D)
352 0:? 'g_tTex2df4' ( uniform texture2D)
353 0:? 'g_tTex2di4' ( uniform itexture2D)
354 0:? 'g_tTex2du4' ( uniform utexture2D)
355 0:? 'g_tTex3df4' ( uniform texture3D)
356 0:? 'g_tTex3di4' ( uniform itexture3D)
357 0:? 'g_tTex3du4' ( uniform utexture3D)
358 0:? 'g_tTexcdf4' ( uniform textureCube)
359 0:? 'g_tTexcdi4' ( uniform itextureCube)
360 0:? 'g_tTexcdu4' ( uniform utextureCube)
361 0:? 'Color' (layout( location=0) out 4-component vector of float)
362 0:? 'Depth' ( out float FragDepth)
364 // Module Version 10000
365 // Generated by (magic number): 80001
366 // Id's are bound by 161
370 1: ExtInstImport "GLSL.std.450"
371 MemoryModel Logical GLSL450
372 EntryPoint Fragment 4 "main" 144 148
373 ExecutionMode 4 OriginUpperLeft
376 MemberName 8(PS_OUTPUT) 0 "Color"
377 MemberName 8(PS_OUTPUT) 1 "Depth"
395 Name 109 "g_tTex3di4"
397 Name 120 "g_tTex3du4"
399 Name 141 "flattenTemp"
402 Name 151 "g_tTex1df4a"
403 Name 154 "g_tTexcdf4"
404 Name 157 "g_tTexcdi4"
405 Name 160 "g_tTexcdu4"
406 Decorate 16(g_tTex1df4) DescriptorSet 0
407 Decorate 16(g_tTex1df4) Binding 0
408 Decorate 20(g_sSamp) DescriptorSet 0
409 Decorate 20(g_sSamp) Binding 0
410 Decorate 33(g_tTex1di4) DescriptorSet 0
411 Decorate 46(g_tTex1du4) DescriptorSet 0
412 Decorate 56(g_tTex2df4) DescriptorSet 0
413 Decorate 70(g_tTex2di4) DescriptorSet 0
414 Decorate 82(g_tTex2du4) DescriptorSet 0
415 Decorate 96(g_tTex3df4) DescriptorSet 0
416 Decorate 109(g_tTex3di4) DescriptorSet 0
417 Decorate 120(g_tTex3du4) DescriptorSet 0
418 Decorate 144(Color) Location 0
419 Decorate 148(Depth) BuiltIn FragDepth
420 Decorate 151(g_tTex1df4a) DescriptorSet 0
421 Decorate 151(g_tTex1df4a) Binding 1
422 Decorate 154(g_tTexcdf4) DescriptorSet 0
423 Decorate 157(g_tTexcdi4) DescriptorSet 0
424 Decorate 160(g_tTexcdu4) DescriptorSet 0
428 7: TypeVector 6(float) 4
429 8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float)
430 9: TypeFunction 8(PS_OUTPUT)
431 12: TypePointer Function 7(fvec4)
432 14: TypeImage 6(float) 1D sampled format:Unknown
433 15: TypePointer UniformConstant 14
434 16(g_tTex1df4): 15(ptr) Variable UniformConstant
436 19: TypePointer UniformConstant 18
437 20(g_sSamp): 19(ptr) Variable UniformConstant
438 22: TypeSampledImage 14
439 24: 6(float) Constant 1036831949
441 26: 25(int) Constant 1
442 28: TypeVector 25(int) 4
443 29: TypePointer Function 28(ivec4)
444 31: TypeImage 25(int) 1D sampled format:Unknown
445 32: TypePointer UniformConstant 31
446 33(g_tTex1di4): 32(ptr) Variable UniformConstant
447 36: TypeSampledImage 31
448 38: 6(float) Constant 1045220557
450 41: TypeVector 40(int) 4
451 42: TypePointer Function 41(ivec4)
452 44: TypeImage 40(int) 1D sampled format:Unknown
453 45: TypePointer UniformConstant 44
454 46(g_tTex1du4): 45(ptr) Variable UniformConstant
455 49: TypeSampledImage 44
456 51: 6(float) Constant 1050253722
457 54: TypeImage 6(float) 2D sampled format:Unknown
458 55: TypePointer UniformConstant 54
459 56(g_tTex2df4): 55(ptr) Variable UniformConstant
460 59: TypeSampledImage 54
461 61: TypeVector 6(float) 2
462 62: 61(fvec2) ConstantComposite 24 38
463 63: TypeVector 25(int) 2
464 64: 25(int) Constant 0
465 65: 63(ivec2) ConstantComposite 26 64
466 68: TypeImage 25(int) 2D sampled format:Unknown
467 69: TypePointer UniformConstant 68
468 70(g_tTex2di4): 69(ptr) Variable UniformConstant
469 73: TypeSampledImage 68
470 75: 6(float) Constant 1053609165
471 76: 61(fvec2) ConstantComposite 51 75
472 77: 63(ivec2) ConstantComposite 26 26
473 80: TypeImage 40(int) 2D sampled format:Unknown
474 81: TypePointer UniformConstant 80
475 82(g_tTex2du4): 81(ptr) Variable UniformConstant
476 85: TypeSampledImage 80
477 87: 6(float) Constant 1056964608
478 88: 6(float) Constant 1058642330
479 89: 61(fvec2) ConstantComposite 87 88
480 90: 25(int) Constant 4294967295
481 91: 63(ivec2) ConstantComposite 26 90
482 94: TypeImage 6(float) 3D sampled format:Unknown
483 95: TypePointer UniformConstant 94
484 96(g_tTex3df4): 95(ptr) Variable UniformConstant
485 99: TypeSampledImage 94
486 101: TypeVector 6(float) 3
487 102: 101(fvec3) ConstantComposite 24 38 51
488 103: TypeVector 25(int) 3
489 104: 103(ivec3) ConstantComposite 26 64 26
490 107: TypeImage 25(int) 3D sampled format:Unknown
491 108: TypePointer UniformConstant 107
492 109(g_tTex3di4): 108(ptr) Variable UniformConstant
493 112: TypeSampledImage 107
494 114: 101(fvec3) ConstantComposite 75 87 88
495 115: 103(ivec3) ConstantComposite 26 26 26
496 118: TypeImage 40(int) 3D sampled format:Unknown
497 119: TypePointer UniformConstant 118
498 120(g_tTex3du4): 119(ptr) Variable UniformConstant
499 123: TypeSampledImage 118
500 125: 6(float) Constant 1060320051
501 126: 6(float) Constant 1061997773
502 127: 6(float) Constant 1063675494
503 128: 101(fvec3) ConstantComposite 125 126 127
504 129: 103(ivec3) ConstantComposite 26 64 90
505 131: TypePointer Function 8(PS_OUTPUT)
506 133: 6(float) Constant 1065353216
507 134: 7(fvec4) ConstantComposite 133 133 133 133
508 136: TypePointer Function 6(float)
509 143: TypePointer Output 7(fvec4)
510 144(Color): 143(ptr) Variable Output
511 147: TypePointer Output 6(float)
512 148(Depth): 147(ptr) Variable Output
513 151(g_tTex1df4a): 15(ptr) Variable UniformConstant
514 152: TypeImage 6(float) Cube sampled format:Unknown
515 153: TypePointer UniformConstant 152
516 154(g_tTexcdf4): 153(ptr) Variable UniformConstant
517 155: TypeImage 25(int) Cube sampled format:Unknown
518 156: TypePointer UniformConstant 155
519 157(g_tTexcdi4): 156(ptr) Variable UniformConstant
520 158: TypeImage 40(int) Cube sampled format:Unknown
521 159: TypePointer UniformConstant 158
522 160(g_tTexcdu4): 159(ptr) Variable UniformConstant
523 4(main): 2 Function None 3
525 141(flattenTemp): 131(ptr) Variable Function
526 142:8(PS_OUTPUT) FunctionCall 10(@main()
527 Store 141(flattenTemp) 142
528 145: 12(ptr) AccessChain 141(flattenTemp) 64
529 146: 7(fvec4) Load 145
531 149: 136(ptr) AccessChain 141(flattenTemp) 26
532 150: 6(float) Load 149
536 10(@main():8(PS_OUTPUT) Function None 9
538 13(txval10): 12(ptr) Variable Function
539 30(txval11): 29(ptr) Variable Function
540 43(txval12): 42(ptr) Variable Function
541 53(txval20): 12(ptr) Variable Function
542 67(txval21): 29(ptr) Variable Function
543 79(txval22): 42(ptr) Variable Function
544 93(txval30): 12(ptr) Variable Function
545 106(txval31): 29(ptr) Variable Function
546 117(txval32): 42(ptr) Variable Function
547 132(psout): 131(ptr) Variable Function
548 17: 14 Load 16(g_tTex1df4)
549 21: 18 Load 20(g_sSamp)
550 23: 22 SampledImage 17 21
551 27: 7(fvec4) ImageSampleImplicitLod 23 24 ConstOffset 26
553 34: 31 Load 33(g_tTex1di4)
554 35: 18 Load 20(g_sSamp)
555 37: 36 SampledImage 34 35
556 39: 28(ivec4) ImageSampleImplicitLod 37 38 ConstOffset 26
558 47: 44 Load 46(g_tTex1du4)
559 48: 18 Load 20(g_sSamp)
560 50: 49 SampledImage 47 48
561 52: 41(ivec4) ImageSampleImplicitLod 50 51 ConstOffset 26
563 57: 54 Load 56(g_tTex2df4)
564 58: 18 Load 20(g_sSamp)
565 60: 59 SampledImage 57 58
566 66: 7(fvec4) ImageSampleImplicitLod 60 62 ConstOffset 65
568 71: 68 Load 70(g_tTex2di4)
569 72: 18 Load 20(g_sSamp)
570 74: 73 SampledImage 71 72
571 78: 28(ivec4) ImageSampleImplicitLod 74 76 ConstOffset 77
573 83: 80 Load 82(g_tTex2du4)
574 84: 18 Load 20(g_sSamp)
575 86: 85 SampledImage 83 84
576 92: 41(ivec4) ImageSampleImplicitLod 86 89 ConstOffset 91
578 97: 94 Load 96(g_tTex3df4)
579 98: 18 Load 20(g_sSamp)
580 100: 99 SampledImage 97 98
581 105: 7(fvec4) ImageSampleImplicitLod 100 102 ConstOffset 104
582 Store 93(txval30) 105
583 110: 107 Load 109(g_tTex3di4)
584 111: 18 Load 20(g_sSamp)
585 113: 112 SampledImage 110 111
586 116: 28(ivec4) ImageSampleImplicitLod 113 114 ConstOffset 115
587 Store 106(txval31) 116
588 121: 118 Load 120(g_tTex3du4)
589 122: 18 Load 20(g_sSamp)
590 124: 123 SampledImage 121 122
591 130: 41(ivec4) ImageSampleImplicitLod 124 128 ConstOffset 129
592 Store 117(txval32) 130
593 135: 12(ptr) AccessChain 132(psout) 64
595 137: 136(ptr) AccessChain 132(psout) 26
597 138:8(PS_OUTPUT) Load 132(psout)