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