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