1 hlsl.samplegrad.offsetarray.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:27 move second child to first child ( temp 4-component vector of float)
10 0:27 'txval10' ( temp 4-component vector of float)
11 0:27 textureGradOffset ( temp 4-component vector of float)
12 0:27 Construct combined texture-sampler ( temp sampler1DArray)
13 0:27 'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
14 0:27 'g_sSamp' (layout( binding=0) uniform sampler)
25 0:28 move second child to first child ( temp 4-component vector of int)
26 0:28 'txval11' ( temp 4-component vector of int)
27 0:28 textureGradOffset ( temp 4-component vector of int)
28 0:28 Construct combined texture-sampler ( temp isampler1DArray)
29 0:28 'g_tTex1di4' ( uniform itexture1DArray)
30 0:28 'g_sSamp' (layout( binding=0) uniform sampler)
41 0:29 move second child to first child ( temp 4-component vector of uint)
42 0:29 'txval12' ( temp 4-component vector of uint)
43 0:29 textureGradOffset ( temp 4-component vector of uint)
44 0:29 Construct combined texture-sampler ( temp usampler1DArray)
45 0:29 'g_tTex1du4' ( uniform utexture1DArray)
46 0:29 'g_sSamp' (layout( binding=0) uniform sampler)
57 0:31 move second child to first child ( temp 4-component vector of float)
58 0:31 'txval20' ( temp 4-component vector of float)
59 0:31 textureGradOffset ( temp 4-component vector of float)
60 0:31 Construct combined texture-sampler ( temp sampler2DArray)
61 0:31 'g_tTex2df4' ( uniform texture2DArray)
62 0:31 'g_sSamp' (layout( binding=0) uniform sampler)
77 0:32 move second child to first child ( temp 4-component vector of int)
78 0:32 'txval21' ( temp 4-component vector of int)
79 0:32 textureGradOffset ( temp 4-component vector of int)
80 0:32 Construct combined texture-sampler ( temp isampler2DArray)
81 0:32 'g_tTex2di4' ( uniform itexture2DArray)
82 0:32 'g_sSamp' (layout( binding=0) uniform sampler)
97 0:33 move second child to first child ( temp 4-component vector of uint)
98 0:33 'txval22' ( temp 4-component vector of uint)
99 0:33 textureGradOffset ( temp 4-component vector of uint)
100 0:33 Construct combined texture-sampler ( temp usampler2DArray)
101 0:33 'g_tTex2du4' ( uniform utexture2DArray)
102 0:33 'g_sSamp' (layout( binding=0) uniform sampler)
116 0:35 move second child to first child ( temp 4-component vector of float)
117 0:35 Color: direct index for structure ( temp 4-component vector of float)
118 0:35 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
126 0:36 move second child to first child ( temp float)
127 0:36 Depth: direct index for structure ( temp float)
128 0:36 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
133 0:38 Branch: Return with expression
134 0:38 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
135 0:24 Function Definition: main( ( temp void)
136 0:24 Function Parameters:
139 0:24 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
140 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
141 0:24 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
142 0:24 move second child to first child ( temp 4-component vector of float)
143 0:? 'Color' (layout( location=0) out 4-component vector of float)
144 0:24 Color: direct index for structure ( temp 4-component vector of float)
145 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
148 0:24 move second child to first child ( temp float)
149 0:? 'Depth' ( out float FragDepth)
150 0:24 Depth: direct index for structure ( temp float)
151 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
155 0:? 'g_sSamp' (layout( binding=0) uniform sampler)
156 0:? 'g_tTex1df4a' (layout( binding=1) uniform texture1DArray)
157 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
158 0:? 'g_tTex1di4' ( uniform itexture1DArray)
159 0:? 'g_tTex1du4' ( uniform utexture1DArray)
160 0:? 'g_tTex2df4' ( uniform texture2DArray)
161 0:? 'g_tTex2di4' ( uniform itexture2DArray)
162 0:? 'g_tTex2du4' ( uniform utexture2DArray)
163 0:? 'g_tTexcdf4' ( uniform textureCubeArray)
164 0:? 'g_tTexcdi4' ( uniform itextureCubeArray)
165 0:? 'g_tTexcdu4' ( uniform utextureCubeArray)
166 0:? 'Color' (layout( location=0) out 4-component vector of float)
167 0:? 'Depth' ( out float FragDepth)
170 Linked fragment stage:
174 gl_FragCoord origin is upper left
176 0:24 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
177 0:24 Function Parameters:
180 0:27 move second child to first child ( temp 4-component vector of float)
181 0:27 'txval10' ( temp 4-component vector of float)
182 0:27 textureGradOffset ( temp 4-component vector of float)
183 0:27 Construct combined texture-sampler ( temp sampler1DArray)
184 0:27 'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
185 0:27 'g_sSamp' (layout( binding=0) uniform sampler)
196 0:28 move second child to first child ( temp 4-component vector of int)
197 0:28 'txval11' ( temp 4-component vector of int)
198 0:28 textureGradOffset ( temp 4-component vector of int)
199 0:28 Construct combined texture-sampler ( temp isampler1DArray)
200 0:28 'g_tTex1di4' ( uniform itexture1DArray)
201 0:28 'g_sSamp' (layout( binding=0) uniform sampler)
212 0:29 move second child to first child ( temp 4-component vector of uint)
213 0:29 'txval12' ( temp 4-component vector of uint)
214 0:29 textureGradOffset ( temp 4-component vector of uint)
215 0:29 Construct combined texture-sampler ( temp usampler1DArray)
216 0:29 'g_tTex1du4' ( uniform utexture1DArray)
217 0:29 'g_sSamp' (layout( binding=0) uniform sampler)
228 0:31 move second child to first child ( temp 4-component vector of float)
229 0:31 'txval20' ( temp 4-component vector of float)
230 0:31 textureGradOffset ( temp 4-component vector of float)
231 0:31 Construct combined texture-sampler ( temp sampler2DArray)
232 0:31 'g_tTex2df4' ( uniform texture2DArray)
233 0:31 'g_sSamp' (layout( binding=0) uniform sampler)
248 0:32 move second child to first child ( temp 4-component vector of int)
249 0:32 'txval21' ( temp 4-component vector of int)
250 0:32 textureGradOffset ( temp 4-component vector of int)
251 0:32 Construct combined texture-sampler ( temp isampler2DArray)
252 0:32 'g_tTex2di4' ( uniform itexture2DArray)
253 0:32 'g_sSamp' (layout( binding=0) uniform sampler)
268 0:33 move second child to first child ( temp 4-component vector of uint)
269 0:33 'txval22' ( temp 4-component vector of uint)
270 0:33 textureGradOffset ( temp 4-component vector of uint)
271 0:33 Construct combined texture-sampler ( temp usampler2DArray)
272 0:33 'g_tTex2du4' ( uniform utexture2DArray)
273 0:33 'g_sSamp' (layout( binding=0) uniform sampler)
287 0:35 move second child to first child ( temp 4-component vector of float)
288 0:35 Color: direct index for structure ( temp 4-component vector of float)
289 0:35 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
297 0:36 move second child to first child ( temp float)
298 0:36 Depth: direct index for structure ( temp float)
299 0:36 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
304 0:38 Branch: Return with expression
305 0:38 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
306 0:24 Function Definition: main( ( temp void)
307 0:24 Function Parameters:
310 0:24 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
311 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
312 0:24 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
313 0:24 move second child to first child ( temp 4-component vector of float)
314 0:? 'Color' (layout( location=0) out 4-component vector of float)
315 0:24 Color: direct index for structure ( temp 4-component vector of float)
316 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
319 0:24 move second child to first child ( temp float)
320 0:? 'Depth' ( out float FragDepth)
321 0:24 Depth: direct index for structure ( temp float)
322 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
326 0:? 'g_sSamp' (layout( binding=0) uniform sampler)
327 0:? 'g_tTex1df4a' (layout( binding=1) uniform texture1DArray)
328 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
329 0:? 'g_tTex1di4' ( uniform itexture1DArray)
330 0:? 'g_tTex1du4' ( uniform utexture1DArray)
331 0:? 'g_tTex2df4' ( uniform texture2DArray)
332 0:? 'g_tTex2di4' ( uniform itexture2DArray)
333 0:? 'g_tTex2du4' ( uniform utexture2DArray)
334 0:? 'g_tTexcdf4' ( uniform textureCubeArray)
335 0:? 'g_tTexcdi4' ( uniform itextureCubeArray)
336 0:? 'g_tTexcdu4' ( uniform utextureCubeArray)
337 0:? 'Color' (layout( location=0) out 4-component vector of float)
338 0:? 'Depth' ( out float FragDepth)
340 // Module Version 10000
341 // Generated by (magic number): 80001
342 // Id's are bound by 120
346 Capability SampledCubeArray
347 1: ExtInstImport "GLSL.std.450"
348 MemoryModel Logical GLSL450
349 EntryPoint Fragment 4 "main" 103 107
350 ExecutionMode 4 OriginUpperLeft
353 MemberName 8(PS_OUTPUT) 0 "Color"
354 MemberName 8(PS_OUTPUT) 1 "Depth"
370 Name 100 "flattenTemp"
373 Name 110 "g_tTex1df4a"
374 Name 113 "g_tTexcdf4"
375 Name 116 "g_tTexcdi4"
376 Name 119 "g_tTexcdu4"
377 Decorate 16(g_tTex1df4) DescriptorSet 0
378 Decorate 16(g_tTex1df4) Binding 0
379 Decorate 20(g_sSamp) DescriptorSet 0
380 Decorate 20(g_sSamp) Binding 0
381 Decorate 38(g_tTex1di4) DescriptorSet 0
382 Decorate 50(g_tTex1du4) DescriptorSet 0
383 Decorate 59(g_tTex2df4) DescriptorSet 0
384 Decorate 75(g_tTex2di4) DescriptorSet 0
385 Decorate 84(g_tTex2du4) DescriptorSet 0
386 Decorate 103(Color) Location 0
387 Decorate 107(Depth) BuiltIn FragDepth
388 Decorate 110(g_tTex1df4a) DescriptorSet 0
389 Decorate 110(g_tTex1df4a) Binding 1
390 Decorate 113(g_tTexcdf4) DescriptorSet 0
391 Decorate 116(g_tTexcdi4) DescriptorSet 0
392 Decorate 119(g_tTexcdu4) DescriptorSet 0
396 7: TypeVector 6(float) 4
397 8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float)
398 9: TypeFunction 8(PS_OUTPUT)
399 12: TypePointer Function 7(fvec4)
400 14: TypeImage 6(float) 1D array sampled format:Unknown
401 15: TypePointer UniformConstant 14
402 16(g_tTex1df4): 15(ptr) Variable UniformConstant
404 19: TypePointer UniformConstant 18
405 20(g_sSamp): 19(ptr) Variable UniformConstant
406 22: TypeSampledImage 14
407 24: TypeVector 6(float) 2
408 25: 6(float) Constant 1036831949
409 26: 6(float) Constant 1045220557
410 27: 24(fvec2) ConstantComposite 25 26
411 28: 6(float) Constant 1066192077
412 29: 6(float) Constant 1067030938
414 31: 30(int) Constant 1
415 33: TypeVector 30(int) 4
416 34: TypePointer Function 33(ivec4)
417 36: TypeImage 30(int) 1D array sampled format:Unknown
418 37: TypePointer UniformConstant 36
419 38(g_tTex1di4): 37(ptr) Variable UniformConstant
420 41: TypeSampledImage 36
422 45: TypeVector 44(int) 4
423 46: TypePointer Function 45(ivec4)
424 48: TypeImage 44(int) 1D array sampled format:Unknown
425 49: TypePointer UniformConstant 48
426 50(g_tTex1du4): 49(ptr) Variable UniformConstant
427 53: TypeSampledImage 48
428 57: TypeImage 6(float) 2D array sampled format:Unknown
429 58: TypePointer UniformConstant 57
430 59(g_tTex2df4): 58(ptr) Variable UniformConstant
431 62: TypeSampledImage 57
432 64: TypeVector 6(float) 3
433 65: 6(float) Constant 1050253722
434 66: 64(fvec3) ConstantComposite 25 26 65
435 67: 24(fvec2) ConstantComposite 28 29
436 68: TypeVector 30(int) 2
437 69: 30(int) Constant 0
438 70: 68(ivec2) ConstantComposite 31 69
439 73: TypeImage 30(int) 2D array sampled format:Unknown
440 74: TypePointer UniformConstant 73
441 75(g_tTex2di4): 74(ptr) Variable UniformConstant
442 78: TypeSampledImage 73
443 82: TypeImage 44(int) 2D array sampled format:Unknown
444 83: TypePointer UniformConstant 82
445 84(g_tTex2du4): 83(ptr) Variable UniformConstant
446 87: TypeSampledImage 82
447 90: TypePointer Function 8(PS_OUTPUT)
448 92: 6(float) Constant 1065353216
449 93: 7(fvec4) ConstantComposite 92 92 92 92
450 95: TypePointer Function 6(float)
451 102: TypePointer Output 7(fvec4)
452 103(Color): 102(ptr) Variable Output
453 106: TypePointer Output 6(float)
454 107(Depth): 106(ptr) Variable Output
455 110(g_tTex1df4a): 15(ptr) Variable UniformConstant
456 111: TypeImage 6(float) Cube array sampled format:Unknown
457 112: TypePointer UniformConstant 111
458 113(g_tTexcdf4): 112(ptr) Variable UniformConstant
459 114: TypeImage 30(int) Cube array sampled format:Unknown
460 115: TypePointer UniformConstant 114
461 116(g_tTexcdi4): 115(ptr) Variable UniformConstant
462 117: TypeImage 44(int) Cube array sampled format:Unknown
463 118: TypePointer UniformConstant 117
464 119(g_tTexcdu4): 118(ptr) Variable UniformConstant
465 4(main): 2 Function None 3
467 100(flattenTemp): 90(ptr) Variable Function
468 101:8(PS_OUTPUT) FunctionCall 10(@main()
469 Store 100(flattenTemp) 101
470 104: 12(ptr) AccessChain 100(flattenTemp) 69
471 105: 7(fvec4) Load 104
473 108: 95(ptr) AccessChain 100(flattenTemp) 31
474 109: 6(float) Load 108
478 10(@main():8(PS_OUTPUT) Function None 9
480 13(txval10): 12(ptr) Variable Function
481 35(txval11): 34(ptr) Variable Function
482 47(txval12): 46(ptr) Variable Function
483 56(txval20): 12(ptr) Variable Function
484 72(txval21): 34(ptr) Variable Function
485 81(txval22): 46(ptr) Variable Function
486 91(psout): 90(ptr) Variable Function
487 17: 14 Load 16(g_tTex1df4)
488 21: 18 Load 20(g_sSamp)
489 23: 22 SampledImage 17 21
490 32: 7(fvec4) ImageSampleExplicitLod 23 27 Grad ConstOffset 28 29 31
492 39: 36 Load 38(g_tTex1di4)
493 40: 18 Load 20(g_sSamp)
494 42: 41 SampledImage 39 40
495 43: 33(ivec4) ImageSampleExplicitLod 42 27 Grad ConstOffset 28 29 31
497 51: 48 Load 50(g_tTex1du4)
498 52: 18 Load 20(g_sSamp)
499 54: 53 SampledImage 51 52
500 55: 45(ivec4) ImageSampleExplicitLod 54 27 Grad ConstOffset 28 29 31
502 60: 57 Load 59(g_tTex2df4)
503 61: 18 Load 20(g_sSamp)
504 63: 62 SampledImage 60 61
505 71: 7(fvec4) ImageSampleExplicitLod 63 66 Grad ConstOffset 67 67 70
507 76: 73 Load 75(g_tTex2di4)
508 77: 18 Load 20(g_sSamp)
509 79: 78 SampledImage 76 77
510 80: 33(ivec4) ImageSampleExplicitLod 79 66 Grad ConstOffset 67 67 70
512 85: 82 Load 84(g_tTex2du4)
513 86: 18 Load 20(g_sSamp)
514 88: 87 SampledImage 85 86
515 89: 45(ivec4) ImageSampleExplicitLod 88 66 Grad ConstOffset 67 67 70
517 94: 12(ptr) AccessChain 91(psout) 69
519 96: 95(ptr) AccessChain 91(psout) 31
521 97:8(PS_OUTPUT) Load 91(psout)