1 hlsl.gathercmpRGBA.offset.dx10.frag
3 gl_FragCoord origin is upper left
5 0:38 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
6 0:38 Function Parameters:
9 0:45 move second child to first child ( temp 4-component vector of float)
10 0:45 'txval001' ( temp 4-component vector of float)
11 0:45 textureGatherOffset ( temp 4-component vector of float)
12 0:45 Construct combined texture-sampler ( temp sampler2DShadow)
13 0:45 'g_tTex2df4' ( uniform texture2D)
14 0:45 'g_sSampCmp' (layout( binding=0) uniform sampler)
15 0:45 c2: direct index for structure ( uniform 2-component vector of float)
16 0:45 'anon@0' (layout( row_major std140) uniform block{ uniform float c1, uniform 2-component vector of float c2, uniform 3-component vector of float c3, uniform 4-component vector of float c4})
25 0:46 move second child to first child ( temp 4-component vector of int)
26 0:46 'txval011' ( temp 4-component vector of int)
27 0:46 textureGatherOffset ( temp 4-component vector of int)
28 0:46 Construct combined texture-sampler ( temp isampler2DShadow)
29 0:46 'g_tTex2di4' ( uniform itexture2D)
30 0:46 'g_sSampCmp' (layout( binding=0) uniform sampler)
31 0:46 c2: direct index for structure ( uniform 2-component vector of float)
32 0:46 'anon@0' (layout( row_major std140) uniform block{ uniform float c1, uniform 2-component vector of float c2, uniform 3-component vector of float c3, uniform 4-component vector of float c4})
41 0:47 move second child to first child ( temp 4-component vector of uint)
42 0:47 'txval021' ( temp 4-component vector of uint)
43 0:47 textureGatherOffset ( temp 4-component vector of uint)
44 0:47 Construct combined texture-sampler ( temp usampler2DShadow)
45 0:47 'g_tTex2du4' ( uniform utexture2D)
46 0:47 'g_sSampCmp' (layout( binding=0) uniform sampler)
47 0:47 c2: direct index for structure ( uniform 2-component vector of float)
48 0:47 'anon@0' (layout( row_major std140) uniform block{ uniform float c1, uniform 2-component vector of float c2, uniform 3-component vector of float c3, uniform 4-component vector of float c4})
57 0:49 move second child to first child ( temp 4-component vector of float)
58 0:49 'txval004' ( temp 4-component vector of float)
59 0:49 textureGatherOffsets ( temp 4-component vector of float)
60 0:49 Construct combined texture-sampler ( temp sampler2DShadow)
61 0:49 'g_tTex2df4' ( uniform texture2D)
62 0:49 'g_sSampCmp' (layout( binding=0) uniform sampler)
63 0:49 c2: direct index for structure ( uniform 2-component vector of float)
64 0:49 'anon@0' (layout( row_major std140) uniform block{ uniform float c1, uniform 2-component vector of float c2, uniform 3-component vector of float c3, uniform 4-component vector of float c4})
79 0:50 move second child to first child ( temp 4-component vector of int)
80 0:50 'txval014' ( temp 4-component vector of int)
81 0:50 textureGatherOffsets ( temp 4-component vector of int)
82 0:50 Construct combined texture-sampler ( temp isampler2DShadow)
83 0:50 'g_tTex2di4' ( uniform itexture2D)
84 0:50 'g_sSampCmp' (layout( binding=0) uniform sampler)
85 0:50 c2: direct index for structure ( uniform 2-component vector of float)
86 0:50 'anon@0' (layout( row_major std140) uniform block{ uniform float c1, uniform 2-component vector of float c2, uniform 3-component vector of float c3, uniform 4-component vector of float c4})
101 0:51 move second child to first child ( temp 4-component vector of uint)
102 0:51 'txval024' ( temp 4-component vector of uint)
103 0:51 textureGatherOffsets ( temp 4-component vector of uint)
104 0:51 Construct combined texture-sampler ( temp usampler2DShadow)
105 0:51 'g_tTex2du4' ( uniform utexture2D)
106 0:51 'g_sSampCmp' (layout( binding=0) uniform sampler)
107 0:51 c2: direct index for structure ( uniform 2-component vector of float)
108 0:51 'anon@0' (layout( row_major std140) uniform block{ uniform float c1, uniform 2-component vector of float c2, uniform 3-component vector of float c3, uniform 4-component vector of float c4})
122 0:114 move second child to first child ( temp 4-component vector of float)
123 0:114 Color: direct index for structure ( temp 4-component vector of float)
124 0:114 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
132 0:115 move second child to first child ( temp float)
133 0:115 Depth: direct index for structure ( temp float)
134 0:115 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
139 0:117 Branch: Return with expression
140 0:117 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
141 0:38 Function Definition: main( ( temp void)
142 0:38 Function Parameters:
145 0:38 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
146 0:38 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
147 0:38 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
148 0:38 move second child to first child ( temp 4-component vector of float)
149 0:? 'Color' (layout( location=0) out 4-component vector of float)
150 0:38 Color: direct index for structure ( temp 4-component vector of float)
151 0:38 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
154 0:38 move second child to first child ( temp float)
155 0:? 'Depth' ( out float FragDepth)
156 0:38 Depth: direct index for structure ( temp float)
157 0:38 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
161 0:? 'g_sSampCmp' (layout( binding=0) uniform sampler)
162 0:? 'g_tTex1df4a' (layout( binding=1) uniform texture1D)
163 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1D)
164 0:? 'g_tTex1di4' ( uniform itexture1D)
165 0:? 'g_tTex1du4' ( uniform utexture1D)
166 0:? 'g_tTex2df4' ( uniform texture2D)
167 0:? 'g_tTex2di4' ( uniform itexture2D)
168 0:? 'g_tTex2du4' ( uniform utexture2D)
169 0:? 'g_tTex3df4' ( uniform texture3D)
170 0:? 'g_tTex3di4' ( uniform itexture3D)
171 0:? 'g_tTex3du4' ( uniform utexture3D)
172 0:? 'g_tTexcdf4' ( uniform textureCube)
173 0:? 'g_tTexcdi4' ( uniform itextureCube)
174 0:? 'g_tTexcdu4' ( uniform utextureCube)
175 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform float c1, uniform 2-component vector of float c2, uniform 3-component vector of float c3, uniform 4-component vector of float c4})
176 0:? 'Color' (layout( location=0) out 4-component vector of float)
177 0:? 'Depth' ( out float FragDepth)
180 Linked fragment stage:
184 gl_FragCoord origin is upper left
186 0:38 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
187 0:38 Function Parameters:
190 0:45 move second child to first child ( temp 4-component vector of float)
191 0:45 'txval001' ( temp 4-component vector of float)
192 0:45 textureGatherOffset ( temp 4-component vector of float)
193 0:45 Construct combined texture-sampler ( temp sampler2DShadow)
194 0:45 'g_tTex2df4' ( uniform texture2D)
195 0:45 'g_sSampCmp' (layout( binding=0) uniform sampler)
196 0:45 c2: direct index for structure ( uniform 2-component vector of float)
197 0:45 'anon@0' (layout( row_major std140) uniform block{ uniform float c1, uniform 2-component vector of float c2, uniform 3-component vector of float c3, uniform 4-component vector of float c4})
206 0:46 move second child to first child ( temp 4-component vector of int)
207 0:46 'txval011' ( temp 4-component vector of int)
208 0:46 textureGatherOffset ( temp 4-component vector of int)
209 0:46 Construct combined texture-sampler ( temp isampler2DShadow)
210 0:46 'g_tTex2di4' ( uniform itexture2D)
211 0:46 'g_sSampCmp' (layout( binding=0) uniform sampler)
212 0:46 c2: direct index for structure ( uniform 2-component vector of float)
213 0:46 'anon@0' (layout( row_major std140) uniform block{ uniform float c1, uniform 2-component vector of float c2, uniform 3-component vector of float c3, uniform 4-component vector of float c4})
222 0:47 move second child to first child ( temp 4-component vector of uint)
223 0:47 'txval021' ( temp 4-component vector of uint)
224 0:47 textureGatherOffset ( temp 4-component vector of uint)
225 0:47 Construct combined texture-sampler ( temp usampler2DShadow)
226 0:47 'g_tTex2du4' ( uniform utexture2D)
227 0:47 'g_sSampCmp' (layout( binding=0) uniform sampler)
228 0:47 c2: direct index for structure ( uniform 2-component vector of float)
229 0:47 'anon@0' (layout( row_major std140) uniform block{ uniform float c1, uniform 2-component vector of float c2, uniform 3-component vector of float c3, uniform 4-component vector of float c4})
238 0:49 move second child to first child ( temp 4-component vector of float)
239 0:49 'txval004' ( temp 4-component vector of float)
240 0:49 textureGatherOffsets ( temp 4-component vector of float)
241 0:49 Construct combined texture-sampler ( temp sampler2DShadow)
242 0:49 'g_tTex2df4' ( uniform texture2D)
243 0:49 'g_sSampCmp' (layout( binding=0) uniform sampler)
244 0:49 c2: direct index for structure ( uniform 2-component vector of float)
245 0:49 'anon@0' (layout( row_major std140) uniform block{ uniform float c1, uniform 2-component vector of float c2, uniform 3-component vector of float c3, uniform 4-component vector of float c4})
260 0:50 move second child to first child ( temp 4-component vector of int)
261 0:50 'txval014' ( temp 4-component vector of int)
262 0:50 textureGatherOffsets ( temp 4-component vector of int)
263 0:50 Construct combined texture-sampler ( temp isampler2DShadow)
264 0:50 'g_tTex2di4' ( uniform itexture2D)
265 0:50 'g_sSampCmp' (layout( binding=0) uniform sampler)
266 0:50 c2: direct index for structure ( uniform 2-component vector of float)
267 0:50 'anon@0' (layout( row_major std140) uniform block{ uniform float c1, uniform 2-component vector of float c2, uniform 3-component vector of float c3, uniform 4-component vector of float c4})
282 0:51 move second child to first child ( temp 4-component vector of uint)
283 0:51 'txval024' ( temp 4-component vector of uint)
284 0:51 textureGatherOffsets ( temp 4-component vector of uint)
285 0:51 Construct combined texture-sampler ( temp usampler2DShadow)
286 0:51 'g_tTex2du4' ( uniform utexture2D)
287 0:51 'g_sSampCmp' (layout( binding=0) uniform sampler)
288 0:51 c2: direct index for structure ( uniform 2-component vector of float)
289 0:51 'anon@0' (layout( row_major std140) uniform block{ uniform float c1, uniform 2-component vector of float c2, uniform 3-component vector of float c3, uniform 4-component vector of float c4})
303 0:114 move second child to first child ( temp 4-component vector of float)
304 0:114 Color: direct index for structure ( temp 4-component vector of float)
305 0:114 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
313 0:115 move second child to first child ( temp float)
314 0:115 Depth: direct index for structure ( temp float)
315 0:115 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
320 0:117 Branch: Return with expression
321 0:117 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
322 0:38 Function Definition: main( ( temp void)
323 0:38 Function Parameters:
326 0:38 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
327 0:38 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
328 0:38 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
329 0:38 move second child to first child ( temp 4-component vector of float)
330 0:? 'Color' (layout( location=0) out 4-component vector of float)
331 0:38 Color: direct index for structure ( temp 4-component vector of float)
332 0:38 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
335 0:38 move second child to first child ( temp float)
336 0:? 'Depth' ( out float FragDepth)
337 0:38 Depth: direct index for structure ( temp float)
338 0:38 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
342 0:? 'g_sSampCmp' (layout( binding=0) uniform sampler)
343 0:? 'g_tTex1df4a' (layout( binding=1) uniform texture1D)
344 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1D)
345 0:? 'g_tTex1di4' ( uniform itexture1D)
346 0:? 'g_tTex1du4' ( uniform utexture1D)
347 0:? 'g_tTex2df4' ( uniform texture2D)
348 0:? 'g_tTex2di4' ( uniform itexture2D)
349 0:? 'g_tTex2du4' ( uniform utexture2D)
350 0:? 'g_tTex3df4' ( uniform texture3D)
351 0:? 'g_tTex3di4' ( uniform itexture3D)
352 0:? 'g_tTex3du4' ( uniform utexture3D)
353 0:? 'g_tTexcdf4' ( uniform textureCube)
354 0:? 'g_tTexcdi4' ( uniform itextureCube)
355 0:? 'g_tTexcdu4' ( uniform utextureCube)
356 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform float c1, uniform 2-component vector of float c2, uniform 3-component vector of float c3, uniform 4-component vector of float c4})
357 0:? 'Color' (layout( location=0) out 4-component vector of float)
358 0:? 'Depth' ( out float FragDepth)
360 // Module Version 10000
361 // Generated by (magic number): 80001
362 // Id's are bound by 146
366 1: ExtInstImport "GLSL.std.450"
367 MemoryModel Logical GLSL450
368 EntryPoint Fragment 4 "main" 111 115
369 ExecutionMode 4 OriginUpperLeft
372 MemberName 8(PS_OUTPUT) 0 "Color"
373 MemberName 8(PS_OUTPUT) 1 "Depth"
379 MemberName 27($Global) 0 "c1"
380 MemberName 27($Global) 1 "c2"
381 MemberName 27($Global) 2 "c3"
382 MemberName 27($Global) 3 "c4"
392 Name 108 "flattenTemp"
395 Name 120 "g_tTex1df4a"
396 Name 121 "g_tTex1df4"
397 Name 124 "g_tTex1di4"
398 Name 127 "g_tTex1du4"
399 Name 130 "g_tTex3df4"
400 Name 133 "g_tTex3di4"
401 Name 136 "g_tTex3du4"
402 Name 139 "g_tTexcdf4"
403 Name 142 "g_tTexcdi4"
404 Name 145 "g_tTexcdu4"
405 Decorate 16(g_tTex2df4) DescriptorSet 0
406 Decorate 20(g_sSampCmp) DescriptorSet 0
407 Decorate 20(g_sSampCmp) Binding 0
408 MemberDecorate 27($Global) 0 Offset 0
409 MemberDecorate 27($Global) 1 Offset 8
410 MemberDecorate 27($Global) 2 Offset 16
411 MemberDecorate 27($Global) 3 Offset 32
412 Decorate 27($Global) Block
413 Decorate 29 DescriptorSet 0
414 Decorate 45(g_tTex2di4) DescriptorSet 0
415 Decorate 62(g_tTex2du4) DescriptorSet 0
416 Decorate 111(Color) Location 0
417 Decorate 115(Depth) BuiltIn FragDepth
418 Decorate 120(g_tTex1df4a) DescriptorSet 0
419 Decorate 120(g_tTex1df4a) Binding 1
420 Decorate 121(g_tTex1df4) DescriptorSet 0
421 Decorate 121(g_tTex1df4) Binding 0
422 Decorate 124(g_tTex1di4) DescriptorSet 0
423 Decorate 127(g_tTex1du4) DescriptorSet 0
424 Decorate 130(g_tTex3df4) DescriptorSet 0
425 Decorate 133(g_tTex3di4) DescriptorSet 0
426 Decorate 136(g_tTex3du4) DescriptorSet 0
427 Decorate 139(g_tTexcdf4) DescriptorSet 0
428 Decorate 142(g_tTexcdi4) DescriptorSet 0
429 Decorate 145(g_tTexcdu4) DescriptorSet 0
433 7: TypeVector 6(float) 4
434 8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float)
435 9: TypeFunction 8(PS_OUTPUT)
436 12: TypePointer Function 7(fvec4)
437 14: TypeImage 6(float) 2D sampled format:Unknown
438 15: TypePointer UniformConstant 14
439 16(g_tTex2df4): 15(ptr) Variable UniformConstant
441 19: TypePointer UniformConstant 18
442 20(g_sSampCmp): 19(ptr) Variable UniformConstant
443 22: TypeImage 6(float) 2D depth sampled format:Unknown
444 23: TypeSampledImage 22
445 25: TypeVector 6(float) 2
446 26: TypeVector 6(float) 3
447 27($Global): TypeStruct 6(float) 25(fvec2) 26(fvec3) 7(fvec4)
448 28: TypePointer Uniform 27($Global)
449 29: 28(ptr) Variable Uniform
451 31: 30(int) Constant 1
452 32: TypePointer Uniform 25(fvec2)
453 35: 6(float) Constant 1061158912
454 36: TypeVector 30(int) 2
455 37: 30(int) Constant 0
456 38: 36(ivec2) ConstantComposite 31 37
457 40: TypeVector 30(int) 4
458 41: TypePointer Function 40(ivec4)
459 43: TypeImage 30(int) 2D sampled format:Unknown
460 44: TypePointer UniformConstant 43
461 45(g_tTex2di4): 44(ptr) Variable UniformConstant
462 48: TypeImage 30(int) 2D depth sampled format:Unknown
463 49: TypeSampledImage 48
464 53: 30(int) Constant 4294967295
465 54: 36(ivec2) ConstantComposite 31 53
467 57: TypeVector 56(int) 4
468 58: TypePointer Function 57(ivec4)
469 60: TypeImage 56(int) 2D sampled format:Unknown
470 61: TypePointer UniformConstant 60
471 62(g_tTex2du4): 61(ptr) Variable UniformConstant
472 65: TypeImage 56(int) 2D depth sampled format:Unknown
473 66: TypeSampledImage 65
474 70: 36(ivec2) ConstantComposite 31 31
475 78: 56(int) Constant 4
476 79: TypeArray 36(ivec2) 78
477 80: 79 ConstantComposite 38 38 38 38
478 88: 79 ConstantComposite 54 54 54 54
479 96: 79 ConstantComposite 70 70 70 70
480 98: TypePointer Function 8(PS_OUTPUT)
481 100: 6(float) Constant 1065353216
482 101: 7(fvec4) ConstantComposite 100 100 100 100
483 103: TypePointer Function 6(float)
484 110: TypePointer Output 7(fvec4)
485 111(Color): 110(ptr) Variable Output
486 114: TypePointer Output 6(float)
487 115(Depth): 114(ptr) Variable Output
488 118: TypeImage 6(float) 1D sampled format:Unknown
489 119: TypePointer UniformConstant 118
490 120(g_tTex1df4a): 119(ptr) Variable UniformConstant
491 121(g_tTex1df4): 119(ptr) Variable UniformConstant
492 122: TypeImage 30(int) 1D sampled format:Unknown
493 123: TypePointer UniformConstant 122
494 124(g_tTex1di4): 123(ptr) Variable UniformConstant
495 125: TypeImage 56(int) 1D sampled format:Unknown
496 126: TypePointer UniformConstant 125
497 127(g_tTex1du4): 126(ptr) Variable UniformConstant
498 128: TypeImage 6(float) 3D sampled format:Unknown
499 129: TypePointer UniformConstant 128
500 130(g_tTex3df4): 129(ptr) Variable UniformConstant
501 131: TypeImage 30(int) 3D sampled format:Unknown
502 132: TypePointer UniformConstant 131
503 133(g_tTex3di4): 132(ptr) Variable UniformConstant
504 134: TypeImage 56(int) 3D sampled format:Unknown
505 135: TypePointer UniformConstant 134
506 136(g_tTex3du4): 135(ptr) Variable UniformConstant
507 137: TypeImage 6(float) Cube sampled format:Unknown
508 138: TypePointer UniformConstant 137
509 139(g_tTexcdf4): 138(ptr) Variable UniformConstant
510 140: TypeImage 30(int) Cube sampled format:Unknown
511 141: TypePointer UniformConstant 140
512 142(g_tTexcdi4): 141(ptr) Variable UniformConstant
513 143: TypeImage 56(int) Cube sampled format:Unknown
514 144: TypePointer UniformConstant 143
515 145(g_tTexcdu4): 144(ptr) Variable UniformConstant
516 4(main): 2 Function None 3
518 108(flattenTemp): 98(ptr) Variable Function
519 109:8(PS_OUTPUT) FunctionCall 10(@main()
520 Store 108(flattenTemp) 109
521 112: 12(ptr) AccessChain 108(flattenTemp) 37
522 113: 7(fvec4) Load 112
524 116: 103(ptr) AccessChain 108(flattenTemp) 31
525 117: 6(float) Load 116
529 10(@main():8(PS_OUTPUT) Function None 9
531 13(txval001): 12(ptr) Variable Function
532 42(txval011): 41(ptr) Variable Function
533 59(txval021): 58(ptr) Variable Function
534 72(txval004): 12(ptr) Variable Function
535 82(txval014): 41(ptr) Variable Function
536 90(txval024): 58(ptr) Variable Function
537 99(psout): 98(ptr) Variable Function
538 17: 14 Load 16(g_tTex2df4)
539 21: 18 Load 20(g_sSampCmp)
540 24: 23 SampledImage 17 21
541 33: 32(ptr) AccessChain 29 31
542 34: 25(fvec2) Load 33
543 39: 7(fvec4) ImageDrefGather 24 34 35 ConstOffset 38
544 Store 13(txval001) 39
545 46: 43 Load 45(g_tTex2di4)
546 47: 18 Load 20(g_sSampCmp)
547 50: 49 SampledImage 46 47
548 51: 32(ptr) AccessChain 29 31
549 52: 25(fvec2) Load 51
550 55: 40(ivec4) ImageDrefGather 50 52 35 ConstOffset 54
551 Store 42(txval011) 55
552 63: 60 Load 62(g_tTex2du4)
553 64: 18 Load 20(g_sSampCmp)
554 67: 66 SampledImage 63 64
555 68: 32(ptr) AccessChain 29 31
556 69: 25(fvec2) Load 68
557 71: 57(ivec4) ImageDrefGather 67 69 35 ConstOffset 70
558 Store 59(txval021) 71
559 73: 14 Load 16(g_tTex2df4)
560 74: 18 Load 20(g_sSampCmp)
561 75: 23 SampledImage 73 74
562 76: 32(ptr) AccessChain 29 31
563 77: 25(fvec2) Load 76
564 81: 7(fvec4) ImageDrefGather 75 77 35 ConstOffsets 80
565 Store 72(txval004) 81
566 83: 43 Load 45(g_tTex2di4)
567 84: 18 Load 20(g_sSampCmp)
568 85: 49 SampledImage 83 84
569 86: 32(ptr) AccessChain 29 31
570 87: 25(fvec2) Load 86
571 89: 40(ivec4) ImageDrefGather 85 87 35 ConstOffsets 88
572 Store 82(txval014) 89
573 91: 60 Load 62(g_tTex2du4)
574 92: 18 Load 20(g_sSampCmp)
575 93: 66 SampledImage 91 92
576 94: 32(ptr) AccessChain 29 31
577 95: 25(fvec2) Load 94
578 97: 57(ivec4) ImageDrefGather 93 95 35 ConstOffsets 96
579 Store 90(txval024) 97
580 102: 12(ptr) AccessChain 99(psout) 37
582 104: 103(ptr) AccessChain 99(psout) 31
584 105:8(PS_OUTPUT) Load 99(psout)