1 hlsl.intrinsics.f3216.frag
3 gl_FragCoord origin is upper left
5 0:2 Function Definition: PixelShaderFunctionS(f1; ( temp uint)
6 0:2 Function Parameters:
9 0:3 Branch: Return with expression
10 0:3 packHalf2x16 ( temp uint)
11 0:3 Construct vec2 ( temp 2-component vector of float)
12 0:3 'inF0' ( in float)
15 0:7 Function Definition: PixelShaderFunction1(vf1; ( temp 1-component vector of uint)
16 0:7 Function Parameters:
17 0:7 'inF0' ( in 1-component vector of float)
19 0:8 Branch: Return with expression
20 0:8 Construct uint ( temp 1-component vector of uint)
21 0:8 packHalf2x16 ( temp uint)
22 0:8 Construct vec2 ( temp 2-component vector of float)
23 0:8 Construct float ( in float)
24 0:8 'inF0' ( in 1-component vector of float)
27 0:12 Function Definition: PixelShaderFunction2(vf2; ( temp 2-component vector of uint)
28 0:12 Function Parameters:
29 0:12 'inF0' ( in 2-component vector of float)
31 0:13 Branch: Return with expression
32 0:13 Construct uvec2 ( temp 2-component vector of uint)
33 0:13 packHalf2x16 ( temp uint)
34 0:13 Construct vec2 ( temp 2-component vector of float)
35 0:13 direct index ( temp float)
36 0:13 'inF0' ( in 2-component vector of float)
41 0:13 packHalf2x16 ( temp uint)
42 0:13 Construct vec2 ( temp 2-component vector of float)
43 0:13 direct index ( temp float)
44 0:13 'inF0' ( in 2-component vector of float)
49 0:17 Function Definition: PixelShaderFunction3(vf3; ( temp 3-component vector of uint)
50 0:17 Function Parameters:
51 0:17 'inF0' ( in 3-component vector of float)
53 0:18 Branch: Return with expression
54 0:18 Construct uvec3 ( temp 3-component vector of uint)
55 0:18 packHalf2x16 ( temp uint)
56 0:18 Construct vec2 ( temp 2-component vector of float)
57 0:18 direct index ( temp float)
58 0:18 'inF0' ( in 3-component vector of float)
63 0:18 packHalf2x16 ( temp uint)
64 0:18 Construct vec2 ( temp 2-component vector of float)
65 0:18 direct index ( temp float)
66 0:18 'inF0' ( in 3-component vector of float)
71 0:18 packHalf2x16 ( temp uint)
72 0:18 Construct vec2 ( temp 2-component vector of float)
73 0:18 direct index ( temp float)
74 0:18 'inF0' ( in 3-component vector of float)
79 0:22 Function Definition: PixelShaderFunction(vf4; ( temp 4-component vector of uint)
80 0:22 Function Parameters:
81 0:22 'inF0' ( in 4-component vector of float)
83 0:23 Branch: Return with expression
84 0:23 Construct uvec4 ( temp 4-component vector of uint)
85 0:23 packHalf2x16 ( temp uint)
86 0:23 Construct vec2 ( temp 2-component vector of float)
87 0:23 direct index ( temp float)
88 0:23 'inF0' ( in 4-component vector of float)
93 0:23 packHalf2x16 ( temp uint)
94 0:23 Construct vec2 ( temp 2-component vector of float)
95 0:23 direct index ( temp float)
96 0:23 'inF0' ( in 4-component vector of float)
101 0:23 packHalf2x16 ( temp uint)
102 0:23 Construct vec2 ( temp 2-component vector of float)
103 0:23 direct index ( temp float)
104 0:23 'inF0' ( in 4-component vector of float)
109 0:23 packHalf2x16 ( temp uint)
110 0:23 Construct vec2 ( temp 2-component vector of float)
111 0:23 direct index ( temp float)
112 0:23 'inF0' ( in 4-component vector of float)
117 0:27 Function Definition: @main( ( temp 4-component vector of float)
118 0:27 Function Parameters:
120 0:28 Branch: Return with expression
126 0:27 Function Definition: main( ( temp void)
127 0:27 Function Parameters:
129 0:27 move second child to first child ( temp 4-component vector of float)
130 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
131 0:27 Function Call: @main( ( temp 4-component vector of float)
133 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
136 Linked fragment stage:
140 gl_FragCoord origin is upper left
142 0:2 Function Definition: PixelShaderFunctionS(f1; ( temp uint)
143 0:2 Function Parameters:
144 0:2 'inF0' ( in float)
146 0:3 Branch: Return with expression
147 0:3 packHalf2x16 ( temp uint)
148 0:3 Construct vec2 ( temp 2-component vector of float)
149 0:3 'inF0' ( in float)
152 0:7 Function Definition: PixelShaderFunction1(vf1; ( temp 1-component vector of uint)
153 0:7 Function Parameters:
154 0:7 'inF0' ( in 1-component vector of float)
156 0:8 Branch: Return with expression
157 0:8 Construct uint ( temp 1-component vector of uint)
158 0:8 packHalf2x16 ( temp uint)
159 0:8 Construct vec2 ( temp 2-component vector of float)
160 0:8 Construct float ( in float)
161 0:8 'inF0' ( in 1-component vector of float)
164 0:12 Function Definition: PixelShaderFunction2(vf2; ( temp 2-component vector of uint)
165 0:12 Function Parameters:
166 0:12 'inF0' ( in 2-component vector of float)
168 0:13 Branch: Return with expression
169 0:13 Construct uvec2 ( temp 2-component vector of uint)
170 0:13 packHalf2x16 ( temp uint)
171 0:13 Construct vec2 ( temp 2-component vector of float)
172 0:13 direct index ( temp float)
173 0:13 'inF0' ( in 2-component vector of float)
178 0:13 packHalf2x16 ( temp uint)
179 0:13 Construct vec2 ( temp 2-component vector of float)
180 0:13 direct index ( temp float)
181 0:13 'inF0' ( in 2-component vector of float)
186 0:17 Function Definition: PixelShaderFunction3(vf3; ( temp 3-component vector of uint)
187 0:17 Function Parameters:
188 0:17 'inF0' ( in 3-component vector of float)
190 0:18 Branch: Return with expression
191 0:18 Construct uvec3 ( temp 3-component vector of uint)
192 0:18 packHalf2x16 ( temp uint)
193 0:18 Construct vec2 ( temp 2-component vector of float)
194 0:18 direct index ( temp float)
195 0:18 'inF0' ( in 3-component vector of float)
200 0:18 packHalf2x16 ( temp uint)
201 0:18 Construct vec2 ( temp 2-component vector of float)
202 0:18 direct index ( temp float)
203 0:18 'inF0' ( in 3-component vector of float)
208 0:18 packHalf2x16 ( temp uint)
209 0:18 Construct vec2 ( temp 2-component vector of float)
210 0:18 direct index ( temp float)
211 0:18 'inF0' ( in 3-component vector of float)
216 0:22 Function Definition: PixelShaderFunction(vf4; ( temp 4-component vector of uint)
217 0:22 Function Parameters:
218 0:22 'inF0' ( in 4-component vector of float)
220 0:23 Branch: Return with expression
221 0:23 Construct uvec4 ( temp 4-component vector of uint)
222 0:23 packHalf2x16 ( temp uint)
223 0:23 Construct vec2 ( temp 2-component vector of float)
224 0:23 direct index ( temp float)
225 0:23 'inF0' ( in 4-component vector of float)
230 0:23 packHalf2x16 ( temp uint)
231 0:23 Construct vec2 ( temp 2-component vector of float)
232 0:23 direct index ( temp float)
233 0:23 'inF0' ( in 4-component vector of float)
238 0:23 packHalf2x16 ( temp uint)
239 0:23 Construct vec2 ( temp 2-component vector of float)
240 0:23 direct index ( temp float)
241 0:23 'inF0' ( in 4-component vector of float)
246 0:23 packHalf2x16 ( temp uint)
247 0:23 Construct vec2 ( temp 2-component vector of float)
248 0:23 direct index ( temp float)
249 0:23 'inF0' ( in 4-component vector of float)
254 0:27 Function Definition: @main( ( temp 4-component vector of float)
255 0:27 Function Parameters:
257 0:28 Branch: Return with expression
263 0:27 Function Definition: main( ( temp void)
264 0:27 Function Parameters:
266 0:27 move second child to first child ( temp 4-component vector of float)
267 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
268 0:27 Function Call: @main( ( temp 4-component vector of float)
270 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
272 // Module Version 10000
273 // Generated by (magic number): 80001
274 // Id's are bound by 106
277 1: ExtInstImport "GLSL.std.450"
278 MemoryModel Logical GLSL450
279 EntryPoint Fragment 4 "main" 104
280 ExecutionMode 4 OriginUpperLeft
282 Name 11 "PixelShaderFunctionS(f1;"
284 Name 14 "PixelShaderFunction1(vf1;"
286 Name 21 "PixelShaderFunction2(vf2;"
288 Name 28 "PixelShaderFunction3(vf3;"
290 Name 35 "PixelShaderFunction(vf4;"
293 Name 104 "@entryPointOutput"
294 Decorate 104(@entryPointOutput) Location 0
298 7: TypePointer Function 6(float)
300 9: TypeFunction 8(int) 7(ptr)
301 16: TypeVector 6(float) 2
302 17: TypePointer Function 16(fvec2)
303 18: TypeVector 8(int) 2
304 19: TypeFunction 18(ivec2) 17(ptr)
305 23: TypeVector 6(float) 3
306 24: TypePointer Function 23(fvec3)
307 25: TypeVector 8(int) 3
308 26: TypeFunction 25(ivec3) 24(ptr)
309 30: TypeVector 6(float) 4
310 31: TypePointer Function 30(fvec4)
311 32: TypeVector 8(int) 4
312 33: TypeFunction 32(ivec4) 31(ptr)
313 37: TypeFunction 30(fvec4)
314 41: 6(float) Constant 0
315 51: 8(int) Constant 0
316 56: 8(int) Constant 1
317 72: 8(int) Constant 2
318 92: 8(int) Constant 3
319 100: 30(fvec4) ConstantComposite 41 41 41 41
320 103: TypePointer Output 30(fvec4)
321 104(@entryPointOutput): 103(ptr) Variable Output
322 4(main): 2 Function None 3
324 105: 30(fvec4) FunctionCall 38(@main()
325 Store 104(@entryPointOutput) 105
328 11(PixelShaderFunctionS(f1;): 8(int) Function None 9
329 10(inF0): 7(ptr) FunctionParameter
331 40: 6(float) Load 10(inF0)
332 42: 16(fvec2) CompositeConstruct 40 41
333 43: 8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 42
336 14(PixelShaderFunction1(vf1;): 8(int) Function None 9
337 13(inF0): 7(ptr) FunctionParameter
339 46: 6(float) Load 13(inF0)
340 47: 16(fvec2) CompositeConstruct 46 41
341 48: 8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 47
344 21(PixelShaderFunction2(vf2;): 18(ivec2) Function None 19
345 20(inF0): 17(ptr) FunctionParameter
347 52: 7(ptr) AccessChain 20(inF0) 51
349 54: 16(fvec2) CompositeConstruct 53 41
350 55: 8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 54
351 57: 7(ptr) AccessChain 20(inF0) 56
353 59: 16(fvec2) CompositeConstruct 58 41
354 60: 8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 59
355 61: 18(ivec2) CompositeConstruct 55 60
358 28(PixelShaderFunction3(vf3;): 25(ivec3) Function None 26
359 27(inF0): 24(ptr) FunctionParameter
361 64: 7(ptr) AccessChain 27(inF0) 51
363 66: 16(fvec2) CompositeConstruct 65 41
364 67: 8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 66
365 68: 7(ptr) AccessChain 27(inF0) 56
367 70: 16(fvec2) CompositeConstruct 69 41
368 71: 8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 70
369 73: 7(ptr) AccessChain 27(inF0) 72
371 75: 16(fvec2) CompositeConstruct 74 41
372 76: 8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 75
373 77: 25(ivec3) CompositeConstruct 67 71 76
376 35(PixelShaderFunction(vf4;): 32(ivec4) Function None 33
377 34(inF0): 31(ptr) FunctionParameter
379 80: 7(ptr) AccessChain 34(inF0) 51
381 82: 16(fvec2) CompositeConstruct 81 41
382 83: 8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 82
383 84: 7(ptr) AccessChain 34(inF0) 56
385 86: 16(fvec2) CompositeConstruct 85 41
386 87: 8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 86
387 88: 7(ptr) AccessChain 34(inF0) 72
389 90: 16(fvec2) CompositeConstruct 89 41
390 91: 8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 90
391 93: 7(ptr) AccessChain 34(inF0) 92
393 95: 16(fvec2) CompositeConstruct 94 41
394 96: 8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 95
395 97: 32(ivec4) CompositeConstruct 83 87 91 96
398 38(@main(): 30(fvec4) Function None 37