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