1 hlsl.samplelevel.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 textureLodOffset ( 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 textureLodOffset ( 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 textureLodOffset ( 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 textureLodOffset ( 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 textureLodOffset ( 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 textureLodOffset ( 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 textureLodOffset ( 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 textureLodOffset ( 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 textureLodOffset ( 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 textureLodOffset ( 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 textureLodOffset ( 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 textureLodOffset ( 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 119
304 1: ExtInstImport "GLSL.std.450"
305 MemoryModel Logical GLSL450
306 EntryPoint Fragment 4 "main" 111 115
307 ExecutionMode 4 OriginUpperLeft
310 MemberName 8(PS_OUTPUT) 0 "Color"
311 MemberName 8(PS_OUTPUT) 1 "Depth"
327 Name 108 "flattenTemp"
330 Name 118 "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 88(g_tTex2du4) DescriptorSet 0
340 Decorate 111(Color) Location 0
341 Decorate 115(Depth) BuiltIn FragDepth
342 Decorate 118(g_tTex1df4a) DescriptorSet 0
343 Decorate 118(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 1061158912
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: 6(float) Constant 1056964608
397 83: 69(fvec3) ConstantComposite 42 57 82
398 86: TypeImage 46(int) 2D array sampled format:Unknown
399 87: TypePointer UniformConstant 86
400 88(g_tTex2du4): 87(ptr) Variable UniformConstant
401 91: TypeSampledImage 86
402 93: 6(float) Constant 1058642330
403 94: 6(float) Constant 1060320051
404 95: 69(fvec3) ConstantComposite 82 93 94
405 96: 71(ivec2) ConstantComposite 30 44
406 98: TypePointer Function 8(PS_OUTPUT)
407 100: 6(float) Constant 1065353216
408 101: 7(fvec4) ConstantComposite 100 100 100 100
409 103: TypePointer Function 6(float)
410 110: TypePointer Output 7(fvec4)
411 111(Color): 110(ptr) Variable Output
412 114: TypePointer Output 6(float)
413 115(Depth): 114(ptr) Variable Output
414 118(g_tTex1df4a): 15(ptr) Variable UniformConstant
415 4(main): 2 Function None 3
417 108(flattenTemp): 98(ptr) Variable Function
418 109:8(PS_OUTPUT) FunctionCall 10(@main()
419 Store 108(flattenTemp) 109
420 112: 12(ptr) AccessChain 108(flattenTemp) 30
421 113: 7(fvec4) Load 112
423 116: 103(ptr) AccessChain 108(flattenTemp) 44
424 117: 6(float) Load 116
428 10(@main():8(PS_OUTPUT) Function None 9
430 13(txval10): 12(ptr) Variable Function
431 34(txval11): 33(ptr) Variable Function
432 49(txval12): 48(ptr) Variable Function
433 61(txval20): 12(ptr) Variable Function
434 74(txval21): 33(ptr) Variable Function
435 85(txval22): 48(ptr) Variable Function
436 99(psout): 98(ptr) Variable Function
437 17: 14 Load 16(g_tTex1df4)
438 21: 18 Load 20(g_sSamp)
439 23: 22 SampledImage 17 21
440 31: 7(fvec4) ImageSampleExplicitLod 23 27 Lod ConstOffset 28 30
442 38: 35 Load 37(g_tTex1di4)
443 39: 18 Load 20(g_sSamp)
444 41: 40 SampledImage 38 39
445 45: 32(ivec4) ImageSampleExplicitLod 41 43 Lod ConstOffset 28 44
447 53: 50 Load 52(g_tTex1du4)
448 54: 18 Load 20(g_sSamp)
449 56: 55 SampledImage 53 54
450 60: 47(ivec4) ImageSampleExplicitLod 56 58 Lod ConstOffset 28 59
452 65: 62 Load 64(g_tTex2df4)
453 66: 18 Load 20(g_sSamp)
454 68: 67 SampledImage 65 66
455 73: 7(fvec4) ImageSampleExplicitLod 68 70 Lod ConstOffset 28 72
457 78: 75 Load 77(g_tTex2di4)
458 79: 18 Load 20(g_sSamp)
459 81: 80 SampledImage 78 79
460 84: 32(ivec4) ImageSampleExplicitLod 81 83 Lod ConstOffset 28 72
462 89: 86 Load 88(g_tTex2du4)
463 90: 18 Load 20(g_sSamp)
464 92: 91 SampledImage 89 90
465 97: 47(ivec4) ImageSampleExplicitLod 92 95 Lod ConstOffset 28 96
467 102: 12(ptr) AccessChain 99(psout) 30
469 104: 103(ptr) AccessChain 99(psout) 44
471 105:8(PS_OUTPUT) Load 99(psout)