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