1 hlsl.samplebias.offsetarray.dx10.frag
3 gl_FragCoord origin is upper left
5 0:20 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
6 0:20 Function Parameters:
9 0:23 move second child to first child ( temp 4-component vector of float)
10 0:23 'txval10' ( temp 4-component vector of float)
11 0:23 textureOffset ( temp 4-component vector of float)
12 0:23 Construct combined texture-sampler ( temp sampler1DArray)
13 0:23 'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
14 0:23 'g_sSamp' (layout( binding=0) uniform sampler)
23 0:24 move second child to first child ( temp 4-component vector of int)
24 0:24 'txval11' ( temp 4-component vector of int)
25 0:24 textureOffset ( temp 4-component vector of int)
26 0:24 Construct combined texture-sampler ( temp isampler1DArray)
27 0:24 'g_tTex1di4' ( uniform itexture1DArray)
28 0:24 'g_sSamp' (layout( binding=0) uniform sampler)
37 0:25 move second child to first child ( temp 4-component vector of uint)
38 0:25 'txval12' ( temp 4-component vector of uint)
39 0:25 textureOffset ( temp 4-component vector of uint)
40 0:25 Construct combined texture-sampler ( temp usampler1DArray)
41 0:25 'g_tTex1du4' ( uniform utexture1DArray)
42 0:25 'g_sSamp' (layout( binding=0) uniform sampler)
51 0:27 move second child to first child ( temp 4-component vector of float)
52 0:27 'txval20' ( temp 4-component vector of float)
53 0:27 textureOffset ( temp 4-component vector of float)
54 0:27 Construct combined texture-sampler ( temp sampler2DArray)
55 0:27 'g_tTex2df4' ( uniform texture2DArray)
56 0:27 'g_sSamp' (layout( binding=0) uniform sampler)
67 0:28 move second child to first child ( temp 4-component vector of int)
68 0:28 'txval21' ( temp 4-component vector of int)
69 0:28 textureOffset ( temp 4-component vector of int)
70 0:28 Construct combined texture-sampler ( temp isampler2DArray)
71 0:28 'g_tTex2di4' ( uniform itexture2DArray)
72 0:28 'g_sSamp' (layout( binding=0) uniform sampler)
83 0:29 move second child to first child ( temp 4-component vector of uint)
84 0:29 'txval22' ( temp 4-component vector of uint)
85 0:29 textureOffset ( temp 4-component vector of uint)
86 0:29 Construct combined texture-sampler ( temp usampler2DArray)
87 0:29 'g_tTex2du4' ( uniform utexture2DArray)
88 0:29 'g_sSamp' (layout( binding=0) uniform sampler)
98 0:33 move second child to first child ( temp 4-component vector of float)
99 0:33 Color: direct index for structure ( temp 4-component vector of float)
100 0:33 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
108 0:34 move second child to first child ( temp float)
109 0:34 Depth: direct index for structure ( temp float)
110 0:34 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
115 0:36 Branch: Return with expression
116 0:36 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
117 0:20 Function Definition: main( ( temp void)
118 0:20 Function Parameters:
121 0:20 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
122 0:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
123 0:20 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
124 0:20 move second child to first child ( temp 4-component vector of float)
125 0:? 'Color' (layout( location=0) out 4-component vector of float)
126 0:20 Color: direct index for structure ( temp 4-component vector of float)
127 0:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
130 0:20 move second child to first child ( temp float)
131 0:? 'Depth' ( out float FragDepth)
132 0:20 Depth: direct index for structure ( temp float)
133 0:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
137 0:? 'g_sSamp' (layout( binding=0) uniform sampler)
138 0:? 'g_tTex1df4a' (layout( binding=1) uniform texture1DArray)
139 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
140 0:? 'g_tTex1di4' ( uniform itexture1DArray)
141 0:? 'g_tTex1du4' ( uniform utexture1DArray)
142 0:? 'g_tTex2df4' ( uniform texture2DArray)
143 0:? 'g_tTex2di4' ( uniform itexture2DArray)
144 0:? 'g_tTex2du4' ( uniform utexture2DArray)
145 0:? 'Color' (layout( location=0) out 4-component vector of float)
146 0:? 'Depth' ( out float FragDepth)
149 Linked fragment stage:
153 gl_FragCoord origin is upper left
155 0:20 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
156 0:20 Function Parameters:
159 0:23 move second child to first child ( temp 4-component vector of float)
160 0:23 'txval10' ( temp 4-component vector of float)
161 0:23 textureOffset ( temp 4-component vector of float)
162 0:23 Construct combined texture-sampler ( temp sampler1DArray)
163 0:23 'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
164 0:23 'g_sSamp' (layout( binding=0) uniform sampler)
173 0:24 move second child to first child ( temp 4-component vector of int)
174 0:24 'txval11' ( temp 4-component vector of int)
175 0:24 textureOffset ( temp 4-component vector of int)
176 0:24 Construct combined texture-sampler ( temp isampler1DArray)
177 0:24 'g_tTex1di4' ( uniform itexture1DArray)
178 0:24 'g_sSamp' (layout( binding=0) uniform sampler)
187 0:25 move second child to first child ( temp 4-component vector of uint)
188 0:25 'txval12' ( temp 4-component vector of uint)
189 0:25 textureOffset ( temp 4-component vector of uint)
190 0:25 Construct combined texture-sampler ( temp usampler1DArray)
191 0:25 'g_tTex1du4' ( uniform utexture1DArray)
192 0:25 'g_sSamp' (layout( binding=0) uniform sampler)
201 0:27 move second child to first child ( temp 4-component vector of float)
202 0:27 'txval20' ( temp 4-component vector of float)
203 0:27 textureOffset ( temp 4-component vector of float)
204 0:27 Construct combined texture-sampler ( temp sampler2DArray)
205 0:27 'g_tTex2df4' ( uniform texture2DArray)
206 0:27 'g_sSamp' (layout( binding=0) uniform sampler)
217 0:28 move second child to first child ( temp 4-component vector of int)
218 0:28 'txval21' ( temp 4-component vector of int)
219 0:28 textureOffset ( temp 4-component vector of int)
220 0:28 Construct combined texture-sampler ( temp isampler2DArray)
221 0:28 'g_tTex2di4' ( uniform itexture2DArray)
222 0:28 'g_sSamp' (layout( binding=0) uniform sampler)
233 0:29 move second child to first child ( temp 4-component vector of uint)
234 0:29 'txval22' ( temp 4-component vector of uint)
235 0:29 textureOffset ( temp 4-component vector of uint)
236 0:29 Construct combined texture-sampler ( temp usampler2DArray)
237 0:29 'g_tTex2du4' ( uniform utexture2DArray)
238 0:29 'g_sSamp' (layout( binding=0) uniform sampler)
248 0:33 move second child to first child ( temp 4-component vector of float)
249 0:33 Color: direct index for structure ( temp 4-component vector of float)
250 0:33 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
258 0:34 move second child to first child ( temp float)
259 0:34 Depth: direct index for structure ( temp float)
260 0:34 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
265 0:36 Branch: Return with expression
266 0:36 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
267 0:20 Function Definition: main( ( temp void)
268 0:20 Function Parameters:
271 0:20 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
272 0:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
273 0:20 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
274 0:20 move second child to first child ( temp 4-component vector of float)
275 0:? 'Color' (layout( location=0) out 4-component vector of float)
276 0:20 Color: direct index for structure ( temp 4-component vector of float)
277 0:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
280 0:20 move second child to first child ( temp float)
281 0:? 'Depth' ( out float FragDepth)
282 0:20 Depth: direct index for structure ( temp float)
283 0:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
287 0:? 'g_sSamp' (layout( binding=0) uniform sampler)
288 0:? 'g_tTex1df4a' (layout( binding=1) uniform texture1DArray)
289 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
290 0:? 'g_tTex1di4' ( uniform itexture1DArray)
291 0:? 'g_tTex1du4' ( uniform utexture1DArray)
292 0:? 'g_tTex2df4' ( uniform texture2DArray)
293 0:? 'g_tTex2di4' ( uniform itexture2DArray)
294 0:? 'g_tTex2du4' ( uniform utexture2DArray)
295 0:? 'Color' (layout( location=0) out 4-component vector of float)
296 0:? 'Depth' ( out float FragDepth)
298 // Module Version 10000
299 // Generated by (magic number): 80001
300 // Id's are bound by 118
304 1: ExtInstImport "GLSL.std.450"
305 MemoryModel Logical GLSL450
306 EntryPoint Fragment 4 "main" 110 114
307 ExecutionMode 4 OriginUpperLeft
310 MemberName 8(PS_OUTPUT) 0 "Color"
311 MemberName 8(PS_OUTPUT) 1 "Depth"
327 Name 107 "flattenTemp"
330 Name 117 "g_tTex1df4a"
331 Decorate 16(g_tTex1df4) DescriptorSet 0
332 Decorate 16(g_tTex1df4) Binding 0
333 Decorate 20(g_sSamp) DescriptorSet 0
334 Decorate 20(g_sSamp) Binding 0
335 Decorate 37(g_tTex1di4) DescriptorSet 0
336 Decorate 52(g_tTex1du4) DescriptorSet 0
337 Decorate 64(g_tTex2df4) DescriptorSet 0
338 Decorate 77(g_tTex2di4) DescriptorSet 0
339 Decorate 87(g_tTex2du4) DescriptorSet 0
340 Decorate 110(Color) Location 0
341 Decorate 114(Depth) BuiltIn FragDepth
342 Decorate 117(g_tTex1df4a) DescriptorSet 0
343 Decorate 117(g_tTex1df4a) Binding 1
347 7: TypeVector 6(float) 4
348 8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float)
349 9: TypeFunction 8(PS_OUTPUT)
350 12: TypePointer Function 7(fvec4)
351 14: TypeImage 6(float) 1D array sampled format:Unknown
352 15: TypePointer UniformConstant 14
353 16(g_tTex1df4): 15(ptr) Variable UniformConstant
355 19: TypePointer UniformConstant 18
356 20(g_sSamp): 19(ptr) Variable UniformConstant
357 22: TypeSampledImage 14
358 24: TypeVector 6(float) 2
359 25: 6(float) Constant 1036831949
360 26: 6(float) Constant 1045220557
361 27: 24(fvec2) ConstantComposite 25 26
362 28: 6(float) Constant 1056964608
364 30: 29(int) Constant 0
365 32: TypeVector 29(int) 4
366 33: TypePointer Function 32(ivec4)
367 35: TypeImage 29(int) 1D array sampled format:Unknown
368 36: TypePointer UniformConstant 35
369 37(g_tTex1di4): 36(ptr) Variable UniformConstant
370 40: TypeSampledImage 35
371 42: 6(float) Constant 1050253722
372 43: 24(fvec2) ConstantComposite 26 42
373 44: 29(int) Constant 1
375 47: TypeVector 46(int) 4
376 48: TypePointer Function 47(ivec4)
377 50: TypeImage 46(int) 1D array sampled format:Unknown
378 51: TypePointer UniformConstant 50
379 52(g_tTex1du4): 51(ptr) Variable UniformConstant
380 55: TypeSampledImage 50
381 57: 6(float) Constant 1053609165
382 58: 24(fvec2) ConstantComposite 42 57
383 59: 29(int) Constant 2
384 62: TypeImage 6(float) 2D array sampled format:Unknown
385 63: TypePointer UniformConstant 62
386 64(g_tTex2df4): 63(ptr) Variable UniformConstant
387 67: TypeSampledImage 62
388 69: TypeVector 6(float) 3
389 70: 69(fvec3) ConstantComposite 25 26 42
390 71: TypeVector 29(int) 2
391 72: 71(ivec2) ConstantComposite 30 30
392 75: TypeImage 29(int) 2D array sampled format:Unknown
393 76: TypePointer UniformConstant 75
394 77(g_tTex2di4): 76(ptr) Variable UniformConstant
395 80: TypeSampledImage 75
396 82: 69(fvec3) ConstantComposite 42 57 28
397 85: TypeImage 46(int) 2D array sampled format:Unknown
398 86: TypePointer UniformConstant 85
399 87(g_tTex2du4): 86(ptr) Variable UniformConstant
400 90: TypeSampledImage 85
401 92: 6(float) Constant 1058642330
402 93: 6(float) Constant 1060320051
403 94: 69(fvec3) ConstantComposite 28 92 93
404 95: 71(ivec2) ConstantComposite 30 44
405 97: TypePointer Function 8(PS_OUTPUT)
406 99: 6(float) Constant 1065353216
407 100: 7(fvec4) ConstantComposite 99 99 99 99
408 102: TypePointer Function 6(float)
409 109: TypePointer Output 7(fvec4)
410 110(Color): 109(ptr) Variable Output
411 113: TypePointer Output 6(float)
412 114(Depth): 113(ptr) Variable Output
413 117(g_tTex1df4a): 15(ptr) Variable UniformConstant
414 4(main): 2 Function None 3
416 107(flattenTemp): 97(ptr) Variable Function
417 108:8(PS_OUTPUT) FunctionCall 10(@main()
418 Store 107(flattenTemp) 108
419 111: 12(ptr) AccessChain 107(flattenTemp) 30
420 112: 7(fvec4) Load 111
422 115: 102(ptr) AccessChain 107(flattenTemp) 44
423 116: 6(float) Load 115
427 10(@main():8(PS_OUTPUT) Function None 9
429 13(txval10): 12(ptr) Variable Function
430 34(txval11): 33(ptr) Variable Function
431 49(txval12): 48(ptr) Variable Function
432 61(txval20): 12(ptr) Variable Function
433 74(txval21): 33(ptr) Variable Function
434 84(txval22): 48(ptr) Variable Function
435 98(psout): 97(ptr) Variable Function
436 17: 14 Load 16(g_tTex1df4)
437 21: 18 Load 20(g_sSamp)
438 23: 22 SampledImage 17 21
439 31: 7(fvec4) ImageSampleImplicitLod 23 27 Bias ConstOffset 30 28
441 38: 35 Load 37(g_tTex1di4)
442 39: 18 Load 20(g_sSamp)
443 41: 40 SampledImage 38 39
444 45: 32(ivec4) ImageSampleImplicitLod 41 43 Bias ConstOffset 44 28
446 53: 50 Load 52(g_tTex1du4)
447 54: 18 Load 20(g_sSamp)
448 56: 55 SampledImage 53 54
449 60: 47(ivec4) ImageSampleImplicitLod 56 58 Bias ConstOffset 59 28
451 65: 62 Load 64(g_tTex2df4)
452 66: 18 Load 20(g_sSamp)
453 68: 67 SampledImage 65 66
454 73: 7(fvec4) ImageSampleImplicitLod 68 70 Bias ConstOffset 72 28
456 78: 75 Load 77(g_tTex2di4)
457 79: 18 Load 20(g_sSamp)
458 81: 80 SampledImage 78 79
459 83: 32(ivec4) ImageSampleImplicitLod 81 82 Bias ConstOffset 72 28
461 88: 85 Load 87(g_tTex2du4)
462 89: 18 Load 20(g_sSamp)
463 91: 90 SampledImage 88 89
464 96: 47(ivec4) ImageSampleImplicitLod 91 94 Bias ConstOffset 95 28
466 101: 12(ptr) AccessChain 98(psout) 30
468 103: 102(ptr) AccessChain 98(psout) 44
470 104:8(PS_OUTPUT) Load 98(psout)