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