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