f018984f3d63cd69f5750804674c38e139ac7138
[platform/upstream/glslang.git] / Test / baseResults / hlsl.calculatelod.dx10.frag.out
1 hlsl.calculatelod.dx10.frag
2 Shader version: 450
3 gl_FragCoord origin is upper left
4 0:? Sequence
5 0:24  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
6 0:24    Function Parameters: 
7 0:?     Sequence
8 0:28      Sequence
9 0:28        move second child to first child ( temp float)
10 0:28          'txval10' ( temp float)
11 0:28          direct index ( temp float)
12 0:?             textureQueryLod ( temp float)
13 0:28              Construct combined texture-sampler ( temp sampler1DArray)
14 0:28                'g_tTex1df4a' (layout( binding=1) uniform texture1DArray)
15 0:28                'g_sSamp' (layout( binding=0) uniform sampler)
16 0:28              Constant:
17 0:28                0.100000
18 0:28            Constant:
19 0:28              0 (const int)
20 0:29      Sequence
21 0:29        move second child to first child ( temp float)
22 0:29          'txval11' ( temp float)
23 0:29          direct index ( temp float)
24 0:?             textureQueryLod ( temp float)
25 0:29              Construct combined texture-sampler ( temp isampler1DArray)
26 0:29                'g_tTex1di4a' ( uniform itexture1DArray)
27 0:29                'g_sSamp' (layout( binding=0) uniform sampler)
28 0:29              Constant:
29 0:29                0.200000
30 0:29            Constant:
31 0:29              0 (const int)
32 0:30      Sequence
33 0:30        move second child to first child ( temp float)
34 0:30          'txval12' ( temp float)
35 0:30          direct index ( temp float)
36 0:?             textureQueryLod ( temp float)
37 0:30              Construct combined texture-sampler ( temp usampler1DArray)
38 0:30                'g_tTex1du4a' ( uniform utexture1DArray)
39 0:30                'g_sSamp' (layout( binding=0) uniform sampler)
40 0:30              Constant:
41 0:30                0.300000
42 0:30            Constant:
43 0:30              0 (const int)
44 0:32      Sequence
45 0:32        move second child to first child ( temp float)
46 0:32          'txval20' ( temp float)
47 0:32          direct index ( temp float)
48 0:?             textureQueryLod ( temp float)
49 0:32              Construct combined texture-sampler ( temp sampler2DArray)
50 0:32                'g_tTex2df4a' ( uniform texture2DArray)
51 0:32                'g_sSamp' (layout( binding=0) uniform sampler)
52 0:?               Constant:
53 0:?                 0.100000
54 0:?                 0.200000
55 0:32            Constant:
56 0:32              0 (const int)
57 0:33      Sequence
58 0:33        move second child to first child ( temp float)
59 0:33          'txval21' ( temp float)
60 0:33          direct index ( temp float)
61 0:?             textureQueryLod ( temp float)
62 0:33              Construct combined texture-sampler ( temp isampler2DArray)
63 0:33                'g_tTex2di4a' ( uniform itexture2DArray)
64 0:33                'g_sSamp' (layout( binding=0) uniform sampler)
65 0:?               Constant:
66 0:?                 0.300000
67 0:?                 0.400000
68 0:33            Constant:
69 0:33              0 (const int)
70 0:34      Sequence
71 0:34        move second child to first child ( temp float)
72 0:34          'txval22' ( temp float)
73 0:34          direct index ( temp float)
74 0:?             textureQueryLod ( temp float)
75 0:34              Construct combined texture-sampler ( temp usampler2DArray)
76 0:34                'g_tTex2du4a' ( uniform utexture2DArray)
77 0:34                'g_sSamp' (layout( binding=0) uniform sampler)
78 0:?               Constant:
79 0:?                 0.500000
80 0:?                 0.600000
81 0:34            Constant:
82 0:34              0 (const int)
83 0:36      Sequence
84 0:36        move second child to first child ( temp float)
85 0:36          'txval40' ( temp float)
86 0:36          direct index ( temp float)
87 0:?             textureQueryLod ( temp float)
88 0:36              Construct combined texture-sampler ( temp samplerCubeArray)
89 0:36                'g_tTexcdf4a' ( uniform textureCubeArray)
90 0:36                'g_sSamp' (layout( binding=0) uniform sampler)
91 0:?               Constant:
92 0:?                 0.100000
93 0:?                 0.200000
94 0:?                 0.300000
95 0:36            Constant:
96 0:36              0 (const int)
97 0:37      Sequence
98 0:37        move second child to first child ( temp float)
99 0:37          'txval41' ( temp float)
100 0:37          direct index ( temp float)
101 0:?             textureQueryLod ( temp float)
102 0:37              Construct combined texture-sampler ( temp isamplerCubeArray)
103 0:37                'g_tTexcdi4a' ( uniform itextureCubeArray)
104 0:37                'g_sSamp' (layout( binding=0) uniform sampler)
105 0:?               Constant:
106 0:?                 0.400000
107 0:?                 0.500000
108 0:?                 0.600000
109 0:37            Constant:
110 0:37              0 (const int)
111 0:38      Sequence
112 0:38        move second child to first child ( temp float)
113 0:38          'txval42' ( temp float)
114 0:38          direct index ( temp float)
115 0:?             textureQueryLod ( temp float)
116 0:38              Construct combined texture-sampler ( temp usamplerCubeArray)
117 0:38                'g_tTexcdu4a' ( uniform utextureCubeArray)
118 0:38                'g_sSamp' (layout( binding=0) uniform sampler)
119 0:?               Constant:
120 0:?                 0.700000
121 0:?                 0.800000
122 0:?                 0.900000
123 0:38            Constant:
124 0:38              0 (const int)
125 0:40      move second child to first child ( temp 4-component vector of float)
126 0:40        Color: direct index for structure ( temp 4-component vector of float)
127 0:40          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
128 0:40          Constant:
129 0:40            0 (const int)
130 0:40        Constant:
131 0:40          1.000000
132 0:40          1.000000
133 0:40          1.000000
134 0:40          1.000000
135 0:41      move second child to first child ( temp float)
136 0:41        Depth: direct index for structure ( temp float)
137 0:41          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
138 0:41          Constant:
139 0:41            1 (const int)
140 0:41        Constant:
141 0:41          1.000000
142 0:43      Branch: Return with expression
143 0:43        'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
144 0:24  Function Definition: main( ( temp void)
145 0:24    Function Parameters: 
146 0:?     Sequence
147 0:24      Sequence
148 0:24        move second child to first child ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
149 0:24          'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
150 0:24          Function Call: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
151 0:24        move second child to first child ( temp 4-component vector of float)
152 0:?           'Color' (layout( location=0) out 4-component vector of float)
153 0:24          Color: direct index for structure ( temp 4-component vector of float)
154 0:24            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
155 0:24            Constant:
156 0:24              0 (const int)
157 0:24        move second child to first child ( temp float)
158 0:?           'Depth' ( out float FragDepth)
159 0:24          Depth: direct index for structure ( temp float)
160 0:24            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
161 0:24            Constant:
162 0:24              1 (const int)
163 0:?   Linker Objects
164 0:?     'g_sSamp' (layout( binding=0) uniform sampler)
165 0:?     'g_tTex1df4a' (layout( binding=1) uniform texture1DArray)
166 0:?     'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
167 0:?     'g_tTex1di4a' ( uniform itexture1DArray)
168 0:?     'g_tTex1du4a' ( uniform utexture1DArray)
169 0:?     'g_tTex2df4a' ( uniform texture2DArray)
170 0:?     'g_tTex2di4a' ( uniform itexture2DArray)
171 0:?     'g_tTex2du4a' ( uniform utexture2DArray)
172 0:?     'g_tTexcdf4a' ( uniform textureCubeArray)
173 0:?     'g_tTexcdi4a' ( uniform itextureCubeArray)
174 0:?     'g_tTexcdu4a' ( uniform utextureCubeArray)
175 0:?     'Color' (layout( location=0) out 4-component vector of float)
176 0:?     'Depth' ( out float FragDepth)
177
178
179 Linked fragment stage:
180
181
182 Shader version: 450
183 gl_FragCoord origin is upper left
184 0:? Sequence
185 0:24  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
186 0:24    Function Parameters: 
187 0:?     Sequence
188 0:28      Sequence
189 0:28        move second child to first child ( temp float)
190 0:28          'txval10' ( temp float)
191 0:28          direct index ( temp float)
192 0:?             textureQueryLod ( temp float)
193 0:28              Construct combined texture-sampler ( temp sampler1DArray)
194 0:28                'g_tTex1df4a' (layout( binding=1) uniform texture1DArray)
195 0:28                'g_sSamp' (layout( binding=0) uniform sampler)
196 0:28              Constant:
197 0:28                0.100000
198 0:28            Constant:
199 0:28              0 (const int)
200 0:29      Sequence
201 0:29        move second child to first child ( temp float)
202 0:29          'txval11' ( temp float)
203 0:29          direct index ( temp float)
204 0:?             textureQueryLod ( temp float)
205 0:29              Construct combined texture-sampler ( temp isampler1DArray)
206 0:29                'g_tTex1di4a' ( uniform itexture1DArray)
207 0:29                'g_sSamp' (layout( binding=0) uniform sampler)
208 0:29              Constant:
209 0:29                0.200000
210 0:29            Constant:
211 0:29              0 (const int)
212 0:30      Sequence
213 0:30        move second child to first child ( temp float)
214 0:30          'txval12' ( temp float)
215 0:30          direct index ( temp float)
216 0:?             textureQueryLod ( temp float)
217 0:30              Construct combined texture-sampler ( temp usampler1DArray)
218 0:30                'g_tTex1du4a' ( uniform utexture1DArray)
219 0:30                'g_sSamp' (layout( binding=0) uniform sampler)
220 0:30              Constant:
221 0:30                0.300000
222 0:30            Constant:
223 0:30              0 (const int)
224 0:32      Sequence
225 0:32        move second child to first child ( temp float)
226 0:32          'txval20' ( temp float)
227 0:32          direct index ( temp float)
228 0:?             textureQueryLod ( temp float)
229 0:32              Construct combined texture-sampler ( temp sampler2DArray)
230 0:32                'g_tTex2df4a' ( uniform texture2DArray)
231 0:32                'g_sSamp' (layout( binding=0) uniform sampler)
232 0:?               Constant:
233 0:?                 0.100000
234 0:?                 0.200000
235 0:32            Constant:
236 0:32              0 (const int)
237 0:33      Sequence
238 0:33        move second child to first child ( temp float)
239 0:33          'txval21' ( temp float)
240 0:33          direct index ( temp float)
241 0:?             textureQueryLod ( temp float)
242 0:33              Construct combined texture-sampler ( temp isampler2DArray)
243 0:33                'g_tTex2di4a' ( uniform itexture2DArray)
244 0:33                'g_sSamp' (layout( binding=0) uniform sampler)
245 0:?               Constant:
246 0:?                 0.300000
247 0:?                 0.400000
248 0:33            Constant:
249 0:33              0 (const int)
250 0:34      Sequence
251 0:34        move second child to first child ( temp float)
252 0:34          'txval22' ( temp float)
253 0:34          direct index ( temp float)
254 0:?             textureQueryLod ( temp float)
255 0:34              Construct combined texture-sampler ( temp usampler2DArray)
256 0:34                'g_tTex2du4a' ( uniform utexture2DArray)
257 0:34                'g_sSamp' (layout( binding=0) uniform sampler)
258 0:?               Constant:
259 0:?                 0.500000
260 0:?                 0.600000
261 0:34            Constant:
262 0:34              0 (const int)
263 0:36      Sequence
264 0:36        move second child to first child ( temp float)
265 0:36          'txval40' ( temp float)
266 0:36          direct index ( temp float)
267 0:?             textureQueryLod ( temp float)
268 0:36              Construct combined texture-sampler ( temp samplerCubeArray)
269 0:36                'g_tTexcdf4a' ( uniform textureCubeArray)
270 0:36                'g_sSamp' (layout( binding=0) uniform sampler)
271 0:?               Constant:
272 0:?                 0.100000
273 0:?                 0.200000
274 0:?                 0.300000
275 0:36            Constant:
276 0:36              0 (const int)
277 0:37      Sequence
278 0:37        move second child to first child ( temp float)
279 0:37          'txval41' ( temp float)
280 0:37          direct index ( temp float)
281 0:?             textureQueryLod ( temp float)
282 0:37              Construct combined texture-sampler ( temp isamplerCubeArray)
283 0:37                'g_tTexcdi4a' ( uniform itextureCubeArray)
284 0:37                'g_sSamp' (layout( binding=0) uniform sampler)
285 0:?               Constant:
286 0:?                 0.400000
287 0:?                 0.500000
288 0:?                 0.600000
289 0:37            Constant:
290 0:37              0 (const int)
291 0:38      Sequence
292 0:38        move second child to first child ( temp float)
293 0:38          'txval42' ( temp float)
294 0:38          direct index ( temp float)
295 0:?             textureQueryLod ( temp float)
296 0:38              Construct combined texture-sampler ( temp usamplerCubeArray)
297 0:38                'g_tTexcdu4a' ( uniform utextureCubeArray)
298 0:38                'g_sSamp' (layout( binding=0) uniform sampler)
299 0:?               Constant:
300 0:?                 0.700000
301 0:?                 0.800000
302 0:?                 0.900000
303 0:38            Constant:
304 0:38              0 (const int)
305 0:40      move second child to first child ( temp 4-component vector of float)
306 0:40        Color: direct index for structure ( temp 4-component vector of float)
307 0:40          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
308 0:40          Constant:
309 0:40            0 (const int)
310 0:40        Constant:
311 0:40          1.000000
312 0:40          1.000000
313 0:40          1.000000
314 0:40          1.000000
315 0:41      move second child to first child ( temp float)
316 0:41        Depth: direct index for structure ( temp float)
317 0:41          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
318 0:41          Constant:
319 0:41            1 (const int)
320 0:41        Constant:
321 0:41          1.000000
322 0:43      Branch: Return with expression
323 0:43        'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
324 0:24  Function Definition: main( ( temp void)
325 0:24    Function Parameters: 
326 0:?     Sequence
327 0:24      Sequence
328 0:24        move second child to first child ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
329 0:24          'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
330 0:24          Function Call: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
331 0:24        move second child to first child ( temp 4-component vector of float)
332 0:?           'Color' (layout( location=0) out 4-component vector of float)
333 0:24          Color: direct index for structure ( temp 4-component vector of float)
334 0:24            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
335 0:24            Constant:
336 0:24              0 (const int)
337 0:24        move second child to first child ( temp float)
338 0:?           'Depth' ( out float FragDepth)
339 0:24          Depth: direct index for structure ( temp float)
340 0:24            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
341 0:24            Constant:
342 0:24              1 (const int)
343 0:?   Linker Objects
344 0:?     'g_sSamp' (layout( binding=0) uniform sampler)
345 0:?     'g_tTex1df4a' (layout( binding=1) uniform texture1DArray)
346 0:?     'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
347 0:?     'g_tTex1di4a' ( uniform itexture1DArray)
348 0:?     'g_tTex1du4a' ( uniform utexture1DArray)
349 0:?     'g_tTex2df4a' ( uniform texture2DArray)
350 0:?     'g_tTex2di4a' ( uniform itexture2DArray)
351 0:?     'g_tTex2du4a' ( uniform utexture2DArray)
352 0:?     'g_tTexcdf4a' ( uniform textureCubeArray)
353 0:?     'g_tTexcdi4a' ( uniform itextureCubeArray)
354 0:?     'g_tTexcdu4a' ( uniform utextureCubeArray)
355 0:?     'Color' (layout( location=0) out 4-component vector of float)
356 0:?     'Depth' ( out float FragDepth)
357
358 // Module Version 10000
359 // Generated by (magic number): 80001
360 // Id's are bound by 148
361
362                               Capability Shader
363                               Capability Sampled1D
364                               Capability SampledCubeArray
365                               Capability ImageQuery
366                1:             ExtInstImport  "GLSL.std.450"
367                               MemoryModel Logical GLSL450
368                               EntryPoint Fragment 4  "main" 140 144
369                               ExecutionMode 4 OriginUpperLeft
370                               Name 4  "main"
371                               Name 8  "PS_OUTPUT"
372                               MemberName 8(PS_OUTPUT) 0  "Color"
373                               MemberName 8(PS_OUTPUT) 1  "Depth"
374                               Name 10  "@main("
375                               Name 13  "txval10"
376                               Name 16  "g_tTex1df4a"
377                               Name 20  "g_sSamp"
378                               Name 30  "txval11"
379                               Name 33  "g_tTex1di4a"
380                               Name 41  "txval12"
381                               Name 45  "g_tTex1du4a"
382                               Name 53  "txval20"
383                               Name 56  "g_tTex2df4a"
384                               Name 64  "txval21"
385                               Name 67  "g_tTex2di4a"
386                               Name 76  "txval22"
387                               Name 79  "g_tTex2du4a"
388                               Name 89  "txval40"
389                               Name 92  "g_tTexcdf4a"
390                               Name 101  "txval41"
391                               Name 104  "g_tTexcdi4a"
392                               Name 112  "txval42"
393                               Name 115  "g_tTexcdu4a"
394                               Name 127  "psout"
395                               Name 137  "flattenTemp"
396                               Name 140  "Color"
397                               Name 144  "Depth"
398                               Name 147  "g_tTex1df4"
399                               Decorate 16(g_tTex1df4a) DescriptorSet 0
400                               Decorate 16(g_tTex1df4a) Binding 1
401                               Decorate 20(g_sSamp) DescriptorSet 0
402                               Decorate 20(g_sSamp) Binding 0
403                               Decorate 33(g_tTex1di4a) DescriptorSet 0
404                               Decorate 45(g_tTex1du4a) DescriptorSet 0
405                               Decorate 56(g_tTex2df4a) DescriptorSet 0
406                               Decorate 67(g_tTex2di4a) DescriptorSet 0
407                               Decorate 79(g_tTex2du4a) DescriptorSet 0
408                               Decorate 92(g_tTexcdf4a) DescriptorSet 0
409                               Decorate 104(g_tTexcdi4a) DescriptorSet 0
410                               Decorate 115(g_tTexcdu4a) DescriptorSet 0
411                               Decorate 140(Color) Location 0
412                               Decorate 144(Depth) BuiltIn FragDepth
413                               Decorate 147(g_tTex1df4) DescriptorSet 0
414                               Decorate 147(g_tTex1df4) Binding 0
415                2:             TypeVoid
416                3:             TypeFunction 2
417                6:             TypeFloat 32
418                7:             TypeVector 6(float) 4
419     8(PS_OUTPUT):             TypeStruct 7(fvec4) 6(float)
420                9:             TypeFunction 8(PS_OUTPUT)
421               12:             TypePointer Function 6(float)
422               14:             TypeImage 6(float) 1D array sampled format:Unknown
423               15:             TypePointer UniformConstant 14
424  16(g_tTex1df4a):     15(ptr) Variable UniformConstant
425               18:             TypeSampler
426               19:             TypePointer UniformConstant 18
427      20(g_sSamp):     19(ptr) Variable UniformConstant
428               22:             TypeSampledImage 14
429               24:    6(float) Constant 1036831949
430               25:             TypeVector 6(float) 2
431               27:             TypeInt 32 1
432               28:     27(int) Constant 0
433               31:             TypeImage 27(int) 1D array sampled format:Unknown
434               32:             TypePointer UniformConstant 31
435  33(g_tTex1di4a):     32(ptr) Variable UniformConstant
436               36:             TypeSampledImage 31
437               38:    6(float) Constant 1045220557
438               42:             TypeInt 32 0
439               43:             TypeImage 42(int) 1D array sampled format:Unknown
440               44:             TypePointer UniformConstant 43
441  45(g_tTex1du4a):     44(ptr) Variable UniformConstant
442               48:             TypeSampledImage 43
443               50:    6(float) Constant 1050253722
444               54:             TypeImage 6(float) 2D array sampled format:Unknown
445               55:             TypePointer UniformConstant 54
446  56(g_tTex2df4a):     55(ptr) Variable UniformConstant
447               59:             TypeSampledImage 54
448               61:   25(fvec2) ConstantComposite 24 38
449               65:             TypeImage 27(int) 2D array sampled format:Unknown
450               66:             TypePointer UniformConstant 65
451  67(g_tTex2di4a):     66(ptr) Variable UniformConstant
452               70:             TypeSampledImage 65
453               72:    6(float) Constant 1053609165
454               73:   25(fvec2) ConstantComposite 50 72
455               77:             TypeImage 42(int) 2D array sampled format:Unknown
456               78:             TypePointer UniformConstant 77
457  79(g_tTex2du4a):     78(ptr) Variable UniformConstant
458               82:             TypeSampledImage 77
459               84:    6(float) Constant 1056964608
460               85:    6(float) Constant 1058642330
461               86:   25(fvec2) ConstantComposite 84 85
462               90:             TypeImage 6(float) Cube array sampled format:Unknown
463               91:             TypePointer UniformConstant 90
464  92(g_tTexcdf4a):     91(ptr) Variable UniformConstant
465               95:             TypeSampledImage 90
466               97:             TypeVector 6(float) 3
467               98:   97(fvec3) ConstantComposite 24 38 50
468              102:             TypeImage 27(int) Cube array sampled format:Unknown
469              103:             TypePointer UniformConstant 102
470 104(g_tTexcdi4a):    103(ptr) Variable UniformConstant
471              107:             TypeSampledImage 102
472              109:   97(fvec3) ConstantComposite 72 84 85
473              113:             TypeImage 42(int) Cube array sampled format:Unknown
474              114:             TypePointer UniformConstant 113
475 115(g_tTexcdu4a):    114(ptr) Variable UniformConstant
476              118:             TypeSampledImage 113
477              120:    6(float) Constant 1060320051
478              121:    6(float) Constant 1061997773
479              122:    6(float) Constant 1063675494
480              123:   97(fvec3) ConstantComposite 120 121 122
481              126:             TypePointer Function 8(PS_OUTPUT)
482              128:    6(float) Constant 1065353216
483              129:    7(fvec4) ConstantComposite 128 128 128 128
484              130:             TypePointer Function 7(fvec4)
485              132:     27(int) Constant 1
486              139:             TypePointer Output 7(fvec4)
487       140(Color):    139(ptr) Variable Output
488              143:             TypePointer Output 6(float)
489       144(Depth):    143(ptr) Variable Output
490  147(g_tTex1df4):     15(ptr) Variable UniformConstant
491          4(main):           2 Function None 3
492                5:             Label
493 137(flattenTemp):    126(ptr) Variable Function
494              138:8(PS_OUTPUT) FunctionCall 10(@main()
495                               Store 137(flattenTemp) 138
496              141:    130(ptr) AccessChain 137(flattenTemp) 28
497              142:    7(fvec4) Load 141
498                               Store 140(Color) 142
499              145:     12(ptr) AccessChain 137(flattenTemp) 132
500              146:    6(float) Load 145
501                               Store 144(Depth) 146
502                               Return
503                               FunctionEnd
504       10(@main():8(PS_OUTPUT) Function None 9
505               11:             Label
506      13(txval10):     12(ptr) Variable Function
507      30(txval11):     12(ptr) Variable Function
508      41(txval12):     12(ptr) Variable Function
509      53(txval20):     12(ptr) Variable Function
510      64(txval21):     12(ptr) Variable Function
511      76(txval22):     12(ptr) Variable Function
512      89(txval40):     12(ptr) Variable Function
513     101(txval41):     12(ptr) Variable Function
514     112(txval42):     12(ptr) Variable Function
515       127(psout):    126(ptr) Variable Function
516               17:          14 Load 16(g_tTex1df4a)
517               21:          18 Load 20(g_sSamp)
518               23:          22 SampledImage 17 21
519               26:   25(fvec2) ImageQueryLod 23 24
520               29:    6(float) CompositeExtract 26 0
521                               Store 13(txval10) 29
522               34:          31 Load 33(g_tTex1di4a)
523               35:          18 Load 20(g_sSamp)
524               37:          36 SampledImage 34 35
525               39:   25(fvec2) ImageQueryLod 37 38
526               40:    6(float) CompositeExtract 39 0
527                               Store 30(txval11) 40
528               46:          43 Load 45(g_tTex1du4a)
529               47:          18 Load 20(g_sSamp)
530               49:          48 SampledImage 46 47
531               51:   25(fvec2) ImageQueryLod 49 50
532               52:    6(float) CompositeExtract 51 0
533                               Store 41(txval12) 52
534               57:          54 Load 56(g_tTex2df4a)
535               58:          18 Load 20(g_sSamp)
536               60:          59 SampledImage 57 58
537               62:   25(fvec2) ImageQueryLod 60 61
538               63:    6(float) CompositeExtract 62 0
539                               Store 53(txval20) 63
540               68:          65 Load 67(g_tTex2di4a)
541               69:          18 Load 20(g_sSamp)
542               71:          70 SampledImage 68 69
543               74:   25(fvec2) ImageQueryLod 71 73
544               75:    6(float) CompositeExtract 74 0
545                               Store 64(txval21) 75
546               80:          77 Load 79(g_tTex2du4a)
547               81:          18 Load 20(g_sSamp)
548               83:          82 SampledImage 80 81
549               87:   25(fvec2) ImageQueryLod 83 86
550               88:    6(float) CompositeExtract 87 0
551                               Store 76(txval22) 88
552               93:          90 Load 92(g_tTexcdf4a)
553               94:          18 Load 20(g_sSamp)
554               96:          95 SampledImage 93 94
555               99:   25(fvec2) ImageQueryLod 96 98
556              100:    6(float) CompositeExtract 99 0
557                               Store 89(txval40) 100
558              105:         102 Load 104(g_tTexcdi4a)
559              106:          18 Load 20(g_sSamp)
560              108:         107 SampledImage 105 106
561              110:   25(fvec2) ImageQueryLod 108 109
562              111:    6(float) CompositeExtract 110 0
563                               Store 101(txval41) 111
564              116:         113 Load 115(g_tTexcdu4a)
565              117:          18 Load 20(g_sSamp)
566              119:         118 SampledImage 116 117
567              124:   25(fvec2) ImageQueryLod 119 123
568              125:    6(float) CompositeExtract 124 0
569                               Store 112(txval42) 125
570              131:    130(ptr) AccessChain 127(psout) 28
571                               Store 131 129
572              133:     12(ptr) AccessChain 127(psout) 132
573                               Store 133 128
574              134:8(PS_OUTPUT) Load 127(psout)
575                               ReturnValue 134
576                               FunctionEnd