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