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