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