1 hlsl.gather.offsetarray.dx10.frag
3 gl_FragCoord origin is upper left
6 0:20 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
7 0:20 Function Parameters:
10 0:25 move second child to first child ( temp 4-component vector of float)
11 0:25 'txval20' ( temp 4-component vector of float)
12 0:25 textureGatherOffset ( temp 4-component vector of float)
13 0:25 Construct combined texture-sampler ( temp sampler2DArray)
14 0:25 'g_tTex2df4' ( uniform texture2DArray)
15 0:25 'g_sSamp' (layout( binding=0) uniform sampler)
24 0:26 move second child to first child ( temp 4-component vector of int)
25 0:26 'txval21' ( temp 4-component vector of int)
26 0:26 textureGatherOffset ( temp 4-component vector of int)
27 0:26 Construct combined texture-sampler ( temp isampler2DArray)
28 0:26 'g_tTex2di4' ( uniform itexture2DArray)
29 0:26 'g_sSamp' (layout( binding=0) uniform sampler)
38 0:27 move second child to first child ( temp 4-component vector of uint)
39 0:27 'txval22' ( temp 4-component vector of uint)
40 0:27 textureGatherOffset ( temp 4-component vector of uint)
41 0:27 Construct combined texture-sampler ( temp usampler2DArray)
42 0:27 'g_tTex2du4' ( uniform utexture2DArray)
43 0:27 'g_sSamp' (layout( binding=0) uniform sampler)
51 0:32 move second child to first child ( temp 4-component vector of float)
52 0:32 Color: direct index for structure ( temp 4-component vector of float)
53 0:32 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
61 0:33 move second child to first child ( temp float)
62 0:33 Depth: direct index for structure ( temp float)
63 0:33 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
68 0:35 Branch: Return with expression
69 0:35 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
70 0:20 Function Definition: main( ( temp void)
71 0:20 Function Parameters:
74 0:20 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
75 0:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
76 0:20 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
77 0:20 move second child to first child ( temp 4-component vector of float)
78 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
79 0:20 Color: direct index for structure ( temp 4-component vector of float)
80 0:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
83 0:20 move second child to first child ( temp float)
84 0:? '@entryPointOutput.Depth' ( out float FragDepth)
85 0:20 Depth: direct index for structure ( temp float)
86 0:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
90 0:? 'g_sSamp' (layout( binding=0) uniform sampler)
91 0:? 'g_tTex1df4a' (layout( binding=1) uniform texture1DArray)
92 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
93 0:? 'g_tTex1di4' ( uniform itexture1DArray)
94 0:? 'g_tTex1du4' ( uniform utexture1DArray)
95 0:? 'g_tTex2df4' ( uniform texture2DArray)
96 0:? 'g_tTex2di4' ( uniform itexture2DArray)
97 0:? 'g_tTex2du4' ( uniform utexture2DArray)
98 0:? '@entryPointOutput.Depth' ( out float FragDepth)
99 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
102 Linked fragment stage:
106 gl_FragCoord origin is upper left
109 0:20 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
110 0:20 Function Parameters:
113 0:25 move second child to first child ( temp 4-component vector of float)
114 0:25 'txval20' ( temp 4-component vector of float)
115 0:25 textureGatherOffset ( temp 4-component vector of float)
116 0:25 Construct combined texture-sampler ( temp sampler2DArray)
117 0:25 'g_tTex2df4' ( uniform texture2DArray)
118 0:25 'g_sSamp' (layout( binding=0) uniform sampler)
127 0:26 move second child to first child ( temp 4-component vector of int)
128 0:26 'txval21' ( temp 4-component vector of int)
129 0:26 textureGatherOffset ( temp 4-component vector of int)
130 0:26 Construct combined texture-sampler ( temp isampler2DArray)
131 0:26 'g_tTex2di4' ( uniform itexture2DArray)
132 0:26 'g_sSamp' (layout( binding=0) uniform sampler)
141 0:27 move second child to first child ( temp 4-component vector of uint)
142 0:27 'txval22' ( temp 4-component vector of uint)
143 0:27 textureGatherOffset ( temp 4-component vector of uint)
144 0:27 Construct combined texture-sampler ( temp usampler2DArray)
145 0:27 'g_tTex2du4' ( uniform utexture2DArray)
146 0:27 'g_sSamp' (layout( binding=0) uniform sampler)
154 0:32 move second child to first child ( temp 4-component vector of float)
155 0:32 Color: direct index for structure ( temp 4-component vector of float)
156 0:32 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
164 0:33 move second child to first child ( temp float)
165 0:33 Depth: direct index for structure ( temp float)
166 0:33 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
171 0:35 Branch: Return with expression
172 0:35 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
173 0:20 Function Definition: main( ( temp void)
174 0:20 Function Parameters:
177 0:20 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
178 0:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
179 0:20 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
180 0:20 move second child to first child ( temp 4-component vector of float)
181 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
182 0:20 Color: direct index for structure ( temp 4-component vector of float)
183 0:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
186 0:20 move second child to first child ( temp float)
187 0:? '@entryPointOutput.Depth' ( out float FragDepth)
188 0:20 Depth: direct index for structure ( temp float)
189 0:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
193 0:? 'g_sSamp' (layout( binding=0) uniform sampler)
194 0:? 'g_tTex1df4a' (layout( binding=1) uniform texture1DArray)
195 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
196 0:? 'g_tTex1di4' ( uniform itexture1DArray)
197 0:? 'g_tTex1du4' ( uniform utexture1DArray)
198 0:? 'g_tTex2df4' ( uniform texture2DArray)
199 0:? 'g_tTex2di4' ( uniform itexture2DArray)
200 0:? 'g_tTex2du4' ( uniform utexture2DArray)
201 0:? '@entryPointOutput.Depth' ( out float FragDepth)
202 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
204 // Module Version 10000
205 // Generated by (magic number): 8000a
206 // Id's are bound by 97
210 1: ExtInstImport "GLSL.std.450"
211 MemoryModel Logical GLSL450
212 EntryPoint Fragment 4 "main" 80 84
213 ExecutionMode 4 OriginUpperLeft
214 ExecutionMode 4 DepthReplacing
218 MemberName 8(PS_OUTPUT) 0 "Color"
219 MemberName 8(PS_OUTPUT) 1 "Depth"
229 Name 77 "flattenTemp"
230 Name 80 "@entryPointOutput.Color"
231 Name 84 "@entryPointOutput.Depth"
232 Name 89 "g_tTex1df4a"
236 Decorate 16(g_tTex2df4) DescriptorSet 0
237 Decorate 16(g_tTex2df4) Binding 2
238 Decorate 20(g_sSamp) DescriptorSet 0
239 Decorate 20(g_sSamp) Binding 0
240 Decorate 40(g_tTex2di4) DescriptorSet 0
241 Decorate 40(g_tTex2di4) Binding 3
242 Decorate 55(g_tTex2du4) DescriptorSet 0
243 Decorate 55(g_tTex2du4) Binding 4
244 Decorate 80(@entryPointOutput.Color) Location 0
245 Decorate 84(@entryPointOutput.Depth) BuiltIn FragDepth
246 Decorate 89(g_tTex1df4a) DescriptorSet 0
247 Decorate 89(g_tTex1df4a) Binding 1
248 Decorate 90(g_tTex1df4) DescriptorSet 0
249 Decorate 90(g_tTex1df4) Binding 0
250 Decorate 93(g_tTex1di4) DescriptorSet 0
251 Decorate 93(g_tTex1di4) Binding 0
252 Decorate 96(g_tTex1du4) DescriptorSet 0
253 Decorate 96(g_tTex1du4) Binding 0
257 7: TypeVector 6(float) 4
258 8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float)
259 9: TypeFunction 8(PS_OUTPUT)
260 12: TypePointer Function 7(fvec4)
261 14: TypeImage 6(float) 2D array sampled format:Unknown
262 15: TypePointer UniformConstant 14
263 16(g_tTex2df4): 15(ptr) Variable UniformConstant
265 19: TypePointer UniformConstant 18
266 20(g_sSamp): 19(ptr) Variable UniformConstant
267 22: TypeSampledImage 14
268 24: TypeVector 6(float) 3
269 25: 6(float) Constant 1036831949
270 26: 6(float) Constant 1045220557
271 27: 6(float) Constant 1050253722
272 28: 24(fvec3) ConstantComposite 25 26 27
274 30: TypeVector 29(int) 2
275 31: 29(int) Constant 1
276 32: 29(int) Constant 0
277 33: 30(ivec2) ConstantComposite 31 32
278 35: TypeVector 29(int) 4
279 36: TypePointer Function 35(ivec4)
280 38: TypeImage 29(int) 2D array sampled format:Unknown
281 39: TypePointer UniformConstant 38
282 40(g_tTex2di4): 39(ptr) Variable UniformConstant
283 43: TypeSampledImage 38
284 45: 6(float) Constant 1053609165
285 46: 24(fvec3) ConstantComposite 27 45 45
286 47: 30(ivec2) ConstantComposite 31 31
288 50: TypeVector 49(int) 4
289 51: TypePointer Function 50(ivec4)
290 53: TypeImage 49(int) 2D array sampled format:Unknown
291 54: TypePointer UniformConstant 53
292 55(g_tTex2du4): 54(ptr) Variable UniformConstant
293 58: TypeSampledImage 53
294 60: 6(float) Constant 1056964608
295 61: 6(float) Constant 1058642330
296 62: 6(float) Constant 1060320051
297 63: 24(fvec3) ConstantComposite 60 61 62
298 64: 29(int) Constant 4294967295
299 65: 30(ivec2) ConstantComposite 31 64
300 67: TypePointer Function 8(PS_OUTPUT)
301 69: 6(float) Constant 1065353216
302 70: 7(fvec4) ConstantComposite 69 69 69 69
303 72: TypePointer Function 6(float)
304 79: TypePointer Output 7(fvec4)
305 80(@entryPointOutput.Color): 79(ptr) Variable Output
306 83: TypePointer Output 6(float)
307 84(@entryPointOutput.Depth): 83(ptr) Variable Output
308 87: TypeImage 6(float) 1D array sampled format:Unknown
309 88: TypePointer UniformConstant 87
310 89(g_tTex1df4a): 88(ptr) Variable UniformConstant
311 90(g_tTex1df4): 88(ptr) Variable UniformConstant
312 91: TypeImage 29(int) 1D array sampled format:Unknown
313 92: TypePointer UniformConstant 91
314 93(g_tTex1di4): 92(ptr) Variable UniformConstant
315 94: TypeImage 49(int) 1D array sampled format:Unknown
316 95: TypePointer UniformConstant 94
317 96(g_tTex1du4): 95(ptr) Variable UniformConstant
318 4(main): 2 Function None 3
320 77(flattenTemp): 67(ptr) Variable Function
321 78:8(PS_OUTPUT) FunctionCall 10(@main()
322 Store 77(flattenTemp) 78
323 81: 12(ptr) AccessChain 77(flattenTemp) 32
325 Store 80(@entryPointOutput.Color) 82
326 85: 72(ptr) AccessChain 77(flattenTemp) 31
328 Store 84(@entryPointOutput.Depth) 86
331 10(@main():8(PS_OUTPUT) Function None 9
333 13(txval20): 12(ptr) Variable Function
334 37(txval21): 36(ptr) Variable Function
335 52(txval22): 51(ptr) Variable Function
336 68(psout): 67(ptr) Variable Function
337 17: 14 Load 16(g_tTex2df4)
338 21: 18 Load 20(g_sSamp)
339 23: 22 SampledImage 17 21
340 34: 7(fvec4) ImageGather 23 28 32 ConstOffset 33
342 41: 38 Load 40(g_tTex2di4)
343 42: 18 Load 20(g_sSamp)
344 44: 43 SampledImage 41 42
345 48: 35(ivec4) ImageGather 44 46 32 ConstOffset 47
347 56: 53 Load 55(g_tTex2du4)
348 57: 18 Load 20(g_sSamp)
349 59: 58 SampledImage 56 57
350 66: 50(ivec4) ImageGather 59 63 32 ConstOffset 65
352 71: 12(ptr) AccessChain 68(psout) 32
354 73: 72(ptr) AccessChain 68(psout) 31
356 74:8(PS_OUTPUT) Load 68(psout)