1 hlsl.gather.offset.dx10.frag
3 gl_FragCoord origin is upper left
5 0:28 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
6 0:28 Function Parameters:
9 0:33 move second child to first child ( temp 4-component vector of float)
10 0:33 'txval20' ( temp 4-component vector of float)
11 0:33 textureGatherOffset ( temp 4-component vector of float)
12 0:33 Construct combined texture-sampler ( temp sampler2D)
13 0:33 'g_tTex2df4' ( uniform texture2D)
14 0:33 'g_sSamp' (layout( binding=0) uniform sampler)
22 0:34 move second child to first child ( temp 4-component vector of int)
23 0:34 'txval21' ( temp 4-component vector of int)
24 0:34 textureGatherOffset ( temp 4-component vector of int)
25 0:34 Construct combined texture-sampler ( temp isampler2D)
26 0:34 'g_tTex2di4' ( uniform itexture2D)
27 0:34 'g_sSamp' (layout( binding=0) uniform sampler)
35 0:35 move second child to first child ( temp 4-component vector of uint)
36 0:35 'txval22' ( temp 4-component vector of uint)
37 0:35 textureGatherOffset ( temp 4-component vector of uint)
38 0:35 Construct combined texture-sampler ( temp usampler2D)
39 0:35 'g_tTex2du4' ( uniform utexture2D)
40 0:35 'g_sSamp' (layout( binding=0) uniform sampler)
47 0:40 move second child to first child ( temp 4-component vector of float)
48 0:40 Color: direct index for structure ( temp 4-component vector of float)
49 0:40 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
57 0:41 move second child to first child ( temp float)
58 0:41 Depth: direct index for structure ( temp float)
59 0:41 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
64 0:43 Branch: Return with expression
65 0:43 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
66 0:28 Function Definition: main( ( temp void)
67 0:28 Function Parameters:
70 0:28 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
71 0:28 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
72 0:28 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
73 0:28 move second child to first child ( temp 4-component vector of float)
74 0:? 'Color' (layout( location=0) out 4-component vector of float)
75 0:28 Color: direct index for structure ( temp 4-component vector of float)
76 0:28 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
79 0:28 move second child to first child ( temp float)
80 0:? 'Depth' ( out float FragDepth)
81 0:28 Depth: direct index for structure ( temp float)
82 0:28 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
86 0:? 'g_sSamp' (layout( binding=0) uniform sampler)
87 0:? 'g_tTex1df4a' (layout( binding=1) uniform texture1D)
88 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1D)
89 0:? 'g_tTex1di4' ( uniform itexture1D)
90 0:? 'g_tTex1du4' ( uniform utexture1D)
91 0:? 'g_tTex2df4' ( uniform texture2D)
92 0:? 'g_tTex2di4' ( uniform itexture2D)
93 0:? 'g_tTex2du4' ( uniform utexture2D)
94 0:? 'g_tTex3df4' ( uniform texture3D)
95 0:? 'g_tTex3di4' ( uniform itexture3D)
96 0:? 'g_tTex3du4' ( uniform utexture3D)
97 0:? 'g_tTexcdf4' ( uniform textureCube)
98 0:? 'g_tTexcdi4' ( uniform itextureCube)
99 0:? 'g_tTexcdu4' ( uniform utextureCube)
100 0:? 'Color' (layout( location=0) out 4-component vector of float)
101 0:? 'Depth' ( out float FragDepth)
104 Linked fragment stage:
108 gl_FragCoord origin is upper left
110 0:28 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
111 0:28 Function Parameters:
114 0:33 move second child to first child ( temp 4-component vector of float)
115 0:33 'txval20' ( temp 4-component vector of float)
116 0:33 textureGatherOffset ( temp 4-component vector of float)
117 0:33 Construct combined texture-sampler ( temp sampler2D)
118 0:33 'g_tTex2df4' ( uniform texture2D)
119 0:33 'g_sSamp' (layout( binding=0) uniform sampler)
127 0:34 move second child to first child ( temp 4-component vector of int)
128 0:34 'txval21' ( temp 4-component vector of int)
129 0:34 textureGatherOffset ( temp 4-component vector of int)
130 0:34 Construct combined texture-sampler ( temp isampler2D)
131 0:34 'g_tTex2di4' ( uniform itexture2D)
132 0:34 'g_sSamp' (layout( binding=0) uniform sampler)
140 0:35 move second child to first child ( temp 4-component vector of uint)
141 0:35 'txval22' ( temp 4-component vector of uint)
142 0:35 textureGatherOffset ( temp 4-component vector of uint)
143 0:35 Construct combined texture-sampler ( temp usampler2D)
144 0:35 'g_tTex2du4' ( uniform utexture2D)
145 0:35 'g_sSamp' (layout( binding=0) uniform sampler)
152 0:40 move second child to first child ( temp 4-component vector of float)
153 0:40 Color: direct index for structure ( temp 4-component vector of float)
154 0:40 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
162 0:41 move second child to first child ( temp float)
163 0:41 Depth: direct index for structure ( temp float)
164 0:41 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
169 0:43 Branch: Return with expression
170 0:43 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
171 0:28 Function Definition: main( ( temp void)
172 0:28 Function Parameters:
175 0:28 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
176 0:28 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
177 0:28 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
178 0:28 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:28 Color: direct index for structure ( temp 4-component vector of float)
181 0:28 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
184 0:28 move second child to first child ( temp float)
185 0:? 'Depth' ( out float FragDepth)
186 0:28 Depth: direct index for structure ( temp float)
187 0:28 '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 texture1D)
193 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1D)
194 0:? 'g_tTex1di4' ( uniform itexture1D)
195 0:? 'g_tTex1du4' ( uniform utexture1D)
196 0:? 'g_tTex2df4' ( uniform texture2D)
197 0:? 'g_tTex2di4' ( uniform itexture2D)
198 0:? 'g_tTex2du4' ( uniform utexture2D)
199 0:? 'g_tTex3df4' ( uniform texture3D)
200 0:? 'g_tTex3di4' ( uniform itexture3D)
201 0:? 'g_tTex3du4' ( uniform utexture3D)
202 0:? 'g_tTexcdf4' ( uniform textureCube)
203 0:? 'g_tTexcdi4' ( uniform itextureCube)
204 0:? 'g_tTexcdu4' ( uniform utextureCube)
205 0:? 'Color' (layout( location=0) out 4-component vector of float)
206 0:? 'Depth' ( out float FragDepth)
208 // Module Version 10000
209 // Generated by (magic number): 80001
210 // Id's are bound by 114
214 1: ExtInstImport "GLSL.std.450"
215 MemoryModel Logical GLSL450
216 EntryPoint Fragment 4 "main" 79 83
217 ExecutionMode 4 OriginUpperLeft
220 MemberName 8(PS_OUTPUT) 0 "Color"
221 MemberName 8(PS_OUTPUT) 1 "Depth"
231 Name 76 "flattenTemp"
234 Name 88 "g_tTex1df4a"
239 Name 101 "g_tTex3di4"
240 Name 104 "g_tTex3du4"
241 Name 107 "g_tTexcdf4"
242 Name 110 "g_tTexcdi4"
243 Name 113 "g_tTexcdu4"
244 Decorate 16(g_tTex2df4) DescriptorSet 0
245 Decorate 20(g_sSamp) DescriptorSet 0
246 Decorate 20(g_sSamp) Binding 0
247 Decorate 39(g_tTex2di4) DescriptorSet 0
248 Decorate 55(g_tTex2du4) DescriptorSet 0
249 Decorate 79(Color) Location 0
250 Decorate 83(Depth) BuiltIn FragDepth
251 Decorate 88(g_tTex1df4a) DescriptorSet 0
252 Decorate 88(g_tTex1df4a) Binding 1
253 Decorate 89(g_tTex1df4) DescriptorSet 0
254 Decorate 89(g_tTex1df4) Binding 0
255 Decorate 92(g_tTex1di4) DescriptorSet 0
256 Decorate 95(g_tTex1du4) DescriptorSet 0
257 Decorate 98(g_tTex3df4) DescriptorSet 0
258 Decorate 101(g_tTex3di4) DescriptorSet 0
259 Decorate 104(g_tTex3du4) DescriptorSet 0
260 Decorate 107(g_tTexcdf4) DescriptorSet 0
261 Decorate 110(g_tTexcdi4) DescriptorSet 0
262 Decorate 113(g_tTexcdu4) DescriptorSet 0
266 7: TypeVector 6(float) 4
267 8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float)
268 9: TypeFunction 8(PS_OUTPUT)
269 12: TypePointer Function 7(fvec4)
270 14: TypeImage 6(float) 2D sampled format:Unknown
271 15: TypePointer UniformConstant 14
272 16(g_tTex2df4): 15(ptr) Variable UniformConstant
274 19: TypePointer UniformConstant 18
275 20(g_sSamp): 19(ptr) Variable UniformConstant
276 22: TypeSampledImage 14
277 24: TypeVector 6(float) 2
278 25: 6(float) Constant 1036831949
279 26: 6(float) Constant 1045220557
280 27: 24(fvec2) ConstantComposite 25 26
282 29: TypeVector 28(int) 2
283 30: 28(int) Constant 1
284 31: 28(int) Constant 0
285 32: 29(ivec2) ConstantComposite 30 31
286 34: TypeVector 28(int) 4
287 35: TypePointer Function 34(ivec4)
288 37: TypeImage 28(int) 2D sampled format:Unknown
289 38: TypePointer UniformConstant 37
290 39(g_tTex2di4): 38(ptr) Variable UniformConstant
291 42: TypeSampledImage 37
292 44: 6(float) Constant 1050253722
293 45: 6(float) Constant 1053609165
294 46: 24(fvec2) ConstantComposite 44 45
295 47: 29(ivec2) ConstantComposite 30 30
297 50: TypeVector 49(int) 4
298 51: TypePointer Function 50(ivec4)
299 53: TypeImage 49(int) 2D sampled format:Unknown
300 54: TypePointer UniformConstant 53
301 55(g_tTex2du4): 54(ptr) Variable UniformConstant
302 58: TypeSampledImage 53
303 60: 6(float) Constant 1056964608
304 61: 6(float) Constant 1058642330
305 62: 24(fvec2) ConstantComposite 60 61
306 63: 28(int) Constant 4294967295
307 64: 29(ivec2) ConstantComposite 30 63
308 66: TypePointer Function 8(PS_OUTPUT)
309 68: 6(float) Constant 1065353216
310 69: 7(fvec4) ConstantComposite 68 68 68 68
311 71: TypePointer Function 6(float)
312 78: TypePointer Output 7(fvec4)
313 79(Color): 78(ptr) Variable Output
314 82: TypePointer Output 6(float)
315 83(Depth): 82(ptr) Variable Output
316 86: TypeImage 6(float) 1D sampled format:Unknown
317 87: TypePointer UniformConstant 86
318 88(g_tTex1df4a): 87(ptr) Variable UniformConstant
319 89(g_tTex1df4): 87(ptr) Variable UniformConstant
320 90: TypeImage 28(int) 1D sampled format:Unknown
321 91: TypePointer UniformConstant 90
322 92(g_tTex1di4): 91(ptr) Variable UniformConstant
323 93: TypeImage 49(int) 1D sampled format:Unknown
324 94: TypePointer UniformConstant 93
325 95(g_tTex1du4): 94(ptr) Variable UniformConstant
326 96: TypeImage 6(float) 3D sampled format:Unknown
327 97: TypePointer UniformConstant 96
328 98(g_tTex3df4): 97(ptr) Variable UniformConstant
329 99: TypeImage 28(int) 3D sampled format:Unknown
330 100: TypePointer UniformConstant 99
331 101(g_tTex3di4): 100(ptr) Variable UniformConstant
332 102: TypeImage 49(int) 3D sampled format:Unknown
333 103: TypePointer UniformConstant 102
334 104(g_tTex3du4): 103(ptr) Variable UniformConstant
335 105: TypeImage 6(float) Cube sampled format:Unknown
336 106: TypePointer UniformConstant 105
337 107(g_tTexcdf4): 106(ptr) Variable UniformConstant
338 108: TypeImage 28(int) Cube sampled format:Unknown
339 109: TypePointer UniformConstant 108
340 110(g_tTexcdi4): 109(ptr) Variable UniformConstant
341 111: TypeImage 49(int) Cube sampled format:Unknown
342 112: TypePointer UniformConstant 111
343 113(g_tTexcdu4): 112(ptr) Variable UniformConstant
344 4(main): 2 Function None 3
346 76(flattenTemp): 66(ptr) Variable Function
347 77:8(PS_OUTPUT) FunctionCall 10(@main()
348 Store 76(flattenTemp) 77
349 80: 12(ptr) AccessChain 76(flattenTemp) 31
352 84: 71(ptr) AccessChain 76(flattenTemp) 30
357 10(@main():8(PS_OUTPUT) Function None 9
359 13(txval20): 12(ptr) Variable Function
360 36(txval21): 35(ptr) Variable Function
361 52(txval22): 51(ptr) Variable Function
362 67(psout): 66(ptr) Variable Function
363 17: 14 Load 16(g_tTex2df4)
364 21: 18 Load 20(g_sSamp)
365 23: 22 SampledImage 17 21
366 33: 7(fvec4) ImageGather 23 27 31 ConstOffset 32
368 40: 37 Load 39(g_tTex2di4)
369 41: 18 Load 20(g_sSamp)
370 43: 42 SampledImage 40 41
371 48: 34(ivec4) ImageGather 43 46 31 ConstOffset 47
373 56: 53 Load 55(g_tTex2du4)
374 57: 18 Load 20(g_sSamp)
375 59: 58 SampledImage 56 57
376 65: 50(ivec4) ImageGather 59 62 31 ConstOffset 64
378 70: 12(ptr) AccessChain 67(psout) 31
380 72: 71(ptr) AccessChain 67(psout) 30
382 73:8(PS_OUTPUT) Load 67(psout)