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