1 hlsl.gather.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:25 move second child to first child ( temp 4-component vector of float)
10 0:25 'txval20' ( temp 4-component vector of float)
11 0:25 textureGatherOffset ( temp 4-component vector of float)
12 0:25 Construct combined texture-sampler ( temp sampler2DArray)
13 0:25 'g_tTex2df4' ( uniform texture2DArray)
14 0:25 'g_sSamp' (layout( binding=0) uniform sampler)
23 0:26 move second child to first child ( temp 4-component vector of int)
24 0:26 'txval21' ( temp 4-component vector of int)
25 0:26 textureGatherOffset ( temp 4-component vector of int)
26 0:26 Construct combined texture-sampler ( temp isampler2DArray)
27 0:26 'g_tTex2di4' ( uniform itexture2DArray)
28 0:26 'g_sSamp' (layout( binding=0) uniform sampler)
37 0:27 move second child to first child ( temp 4-component vector of uint)
38 0:27 'txval22' ( temp 4-component vector of uint)
39 0:27 textureGatherOffset ( temp 4-component vector of uint)
40 0:27 Construct combined texture-sampler ( temp usampler2DArray)
41 0:27 'g_tTex2du4' ( uniform utexture2DArray)
42 0:27 'g_sSamp' (layout( binding=0) uniform sampler)
50 0:32 move second child to first child ( temp 4-component vector of float)
51 0:32 Color: direct index for structure ( temp 4-component vector of float)
52 0:32 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
60 0:33 move second child to first child ( temp float)
61 0:33 Depth: direct index for structure ( temp float)
62 0:33 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
67 0:35 Branch: Return with expression
68 0:35 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
69 0:20 Function Definition: main( ( temp void)
70 0:20 Function Parameters:
73 0:20 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
74 0:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
75 0:20 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
76 0:20 move second child to first child ( temp 4-component vector of float)
77 0:? 'Color' (layout( location=0) out 4-component vector of float)
78 0:20 Color: direct index for structure ( temp 4-component vector of float)
79 0:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
82 0:20 move second child to first child ( temp float)
83 0:? 'Depth' ( out float FragDepth)
84 0:20 Depth: direct index for structure ( temp float)
85 0:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
89 0:? 'g_sSamp' (layout( binding=0) uniform sampler)
90 0:? 'g_tTex1df4a' (layout( binding=1) uniform texture1DArray)
91 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
92 0:? 'g_tTex1di4' ( uniform itexture1DArray)
93 0:? 'g_tTex1du4' ( uniform utexture1DArray)
94 0:? 'g_tTex2df4' ( uniform texture2DArray)
95 0:? 'g_tTex2di4' ( uniform itexture2DArray)
96 0:? 'g_tTex2du4' ( uniform utexture2DArray)
97 0:? 'Color' (layout( location=0) out 4-component vector of float)
98 0:? 'Depth' ( out float FragDepth)
101 Linked fragment stage:
105 gl_FragCoord origin is upper left
107 0:20 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
108 0:20 Function Parameters:
111 0:25 move second child to first child ( temp 4-component vector of float)
112 0:25 'txval20' ( temp 4-component vector of float)
113 0:25 textureGatherOffset ( temp 4-component vector of float)
114 0:25 Construct combined texture-sampler ( temp sampler2DArray)
115 0:25 'g_tTex2df4' ( uniform texture2DArray)
116 0:25 'g_sSamp' (layout( binding=0) uniform sampler)
125 0:26 move second child to first child ( temp 4-component vector of int)
126 0:26 'txval21' ( temp 4-component vector of int)
127 0:26 textureGatherOffset ( temp 4-component vector of int)
128 0:26 Construct combined texture-sampler ( temp isampler2DArray)
129 0:26 'g_tTex2di4' ( uniform itexture2DArray)
130 0:26 'g_sSamp' (layout( binding=0) uniform sampler)
139 0:27 move second child to first child ( temp 4-component vector of uint)
140 0:27 'txval22' ( temp 4-component vector of uint)
141 0:27 textureGatherOffset ( temp 4-component vector of uint)
142 0:27 Construct combined texture-sampler ( temp usampler2DArray)
143 0:27 'g_tTex2du4' ( uniform utexture2DArray)
144 0:27 'g_sSamp' (layout( binding=0) uniform sampler)
152 0:32 move second child to first child ( temp 4-component vector of float)
153 0:32 Color: direct index for structure ( temp 4-component vector of float)
154 0:32 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
162 0:33 move second child to first child ( temp float)
163 0:33 Depth: direct index for structure ( temp float)
164 0:33 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
169 0:35 Branch: Return with expression
170 0:35 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
171 0:20 Function Definition: main( ( temp void)
172 0:20 Function Parameters:
175 0:20 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
176 0:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
177 0:20 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
178 0:20 move second child to first child ( temp 4-component vector of float)
179 0:? 'Color' (layout( location=0) out 4-component vector of float)
180 0:20 Color: direct index for structure ( temp 4-component vector of float)
181 0:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
184 0:20 move second child to first child ( temp float)
185 0:? 'Depth' ( out float FragDepth)
186 0:20 Depth: direct index for structure ( temp float)
187 0:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
191 0:? 'g_sSamp' (layout( binding=0) uniform sampler)
192 0:? 'g_tTex1df4a' (layout( binding=1) uniform texture1DArray)
193 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
194 0:? 'g_tTex1di4' ( uniform itexture1DArray)
195 0:? 'g_tTex1du4' ( uniform utexture1DArray)
196 0:? 'g_tTex2df4' ( uniform texture2DArray)
197 0:? 'g_tTex2di4' ( uniform itexture2DArray)
198 0:? 'g_tTex2du4' ( uniform utexture2DArray)
199 0:? 'Color' (layout( location=0) out 4-component vector of float)
200 0:? 'Depth' ( out float FragDepth)
202 // Module Version 10000
203 // Generated by (magic number): 80001
204 // Id's are bound by 97
208 1: ExtInstImport "GLSL.std.450"
209 MemoryModel Logical GLSL450
210 EntryPoint Fragment 4 "main" 80 84
211 ExecutionMode 4 OriginUpperLeft
214 MemberName 8(PS_OUTPUT) 0 "Color"
215 MemberName 8(PS_OUTPUT) 1 "Depth"
225 Name 77 "flattenTemp"
228 Name 89 "g_tTex1df4a"
232 Decorate 16(g_tTex2df4) DescriptorSet 0
233 Decorate 20(g_sSamp) DescriptorSet 0
234 Decorate 20(g_sSamp) Binding 0
235 Decorate 40(g_tTex2di4) DescriptorSet 0
236 Decorate 55(g_tTex2du4) DescriptorSet 0
237 Decorate 80(Color) Location 0
238 Decorate 84(Depth) BuiltIn FragDepth
239 Decorate 89(g_tTex1df4a) DescriptorSet 0
240 Decorate 89(g_tTex1df4a) Binding 1
241 Decorate 90(g_tTex1df4) DescriptorSet 0
242 Decorate 90(g_tTex1df4) Binding 0
243 Decorate 93(g_tTex1di4) DescriptorSet 0
244 Decorate 96(g_tTex1du4) DescriptorSet 0
248 7: TypeVector 6(float) 4
249 8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float)
250 9: TypeFunction 8(PS_OUTPUT)
251 12: TypePointer Function 7(fvec4)
252 14: TypeImage 6(float) 2D array sampled format:Unknown
253 15: TypePointer UniformConstant 14
254 16(g_tTex2df4): 15(ptr) Variable UniformConstant
256 19: TypePointer UniformConstant 18
257 20(g_sSamp): 19(ptr) Variable UniformConstant
258 22: TypeSampledImage 14
259 24: TypeVector 6(float) 3
260 25: 6(float) Constant 1036831949
261 26: 6(float) Constant 1045220557
262 27: 6(float) Constant 1050253722
263 28: 24(fvec3) ConstantComposite 25 26 27
265 30: TypeVector 29(int) 2
266 31: 29(int) Constant 1
267 32: 29(int) Constant 0
268 33: 30(ivec2) ConstantComposite 31 32
269 35: TypeVector 29(int) 4
270 36: TypePointer Function 35(ivec4)
271 38: TypeImage 29(int) 2D array sampled format:Unknown
272 39: TypePointer UniformConstant 38
273 40(g_tTex2di4): 39(ptr) Variable UniformConstant
274 43: TypeSampledImage 38
275 45: 6(float) Constant 1053609165
276 46: 24(fvec3) ConstantComposite 27 45 45
277 47: 30(ivec2) ConstantComposite 31 31
279 50: TypeVector 49(int) 4
280 51: TypePointer Function 50(ivec4)
281 53: TypeImage 49(int) 2D array sampled format:Unknown
282 54: TypePointer UniformConstant 53
283 55(g_tTex2du4): 54(ptr) Variable UniformConstant
284 58: TypeSampledImage 53
285 60: 6(float) Constant 1056964608
286 61: 6(float) Constant 1058642330
287 62: 6(float) Constant 1060320051
288 63: 24(fvec3) ConstantComposite 60 61 62
289 64: 29(int) Constant 4294967295
290 65: 30(ivec2) ConstantComposite 31 64
291 67: TypePointer Function 8(PS_OUTPUT)
292 69: 6(float) Constant 1065353216
293 70: 7(fvec4) ConstantComposite 69 69 69 69
294 72: TypePointer Function 6(float)
295 79: TypePointer Output 7(fvec4)
296 80(Color): 79(ptr) Variable Output
297 83: TypePointer Output 6(float)
298 84(Depth): 83(ptr) Variable Output
299 87: TypeImage 6(float) 1D array sampled format:Unknown
300 88: TypePointer UniformConstant 87
301 89(g_tTex1df4a): 88(ptr) Variable UniformConstant
302 90(g_tTex1df4): 88(ptr) Variable UniformConstant
303 91: TypeImage 29(int) 1D array sampled format:Unknown
304 92: TypePointer UniformConstant 91
305 93(g_tTex1di4): 92(ptr) Variable UniformConstant
306 94: TypeImage 49(int) 1D array sampled format:Unknown
307 95: TypePointer UniformConstant 94
308 96(g_tTex1du4): 95(ptr) Variable UniformConstant
309 4(main): 2 Function None 3
311 77(flattenTemp): 67(ptr) Variable Function
312 78:8(PS_OUTPUT) FunctionCall 10(@main()
313 Store 77(flattenTemp) 78
314 81: 12(ptr) AccessChain 77(flattenTemp) 32
317 85: 72(ptr) AccessChain 77(flattenTemp) 31
322 10(@main():8(PS_OUTPUT) Function None 9
324 13(txval20): 12(ptr) Variable Function
325 37(txval21): 36(ptr) Variable Function
326 52(txval22): 51(ptr) Variable Function
327 68(psout): 67(ptr) Variable Function
328 17: 14 Load 16(g_tTex2df4)
329 21: 18 Load 20(g_sSamp)
330 23: 22 SampledImage 17 21
331 34: 7(fvec4) ImageGather 23 28 32 ConstOffset 33
333 41: 38 Load 40(g_tTex2di4)
334 42: 18 Load 20(g_sSamp)
335 44: 43 SampledImage 41 42
336 48: 35(ivec4) ImageGather 44 46 32 ConstOffset 47
338 56: 53 Load 55(g_tTex2du4)
339 57: 18 Load 20(g_sSamp)
340 59: 58 SampledImage 56 57
341 66: 50(ivec4) ImageGather 59 63 32 ConstOffset 65
343 71: 12(ptr) AccessChain 68(psout) 32
345 73: 72(ptr) AccessChain 68(psout) 31
347 74:8(PS_OUTPUT) Load 68(psout)