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