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