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