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