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