1 hlsl.intrinsics.f1632.frag
3 gl_FragCoord origin is upper left
5 0:2 Function Definition: PixelShaderFunctionS(u1; ( temp float)
6 0:2 Function Parameters:
9 0:3 Branch: Return with expression
10 0:3 direct index ( temp float)
11 0:3 unpackHalf2x16 ( temp 2-component vector of float)
15 0:7 Function Definition: PixelShaderFunction1(vu1; ( temp 1-component vector of float)
16 0:7 Function Parameters:
17 0:7 'inF0' ( in 1-component vector of uint)
19 0:8 Branch: Return with expression
22 0:12 Function Definition: PixelShaderFunction2(vu2; ( temp 2-component vector of float)
23 0:12 Function Parameters:
24 0:12 'inF0' ( in 2-component vector of uint)
26 0:13 Branch: Return with expression
27 0:13 Construct vec2 ( temp 2-component vector of float)
28 0:13 direct index ( temp float)
29 0:13 unpackHalf2x16 ( temp 2-component vector of float)
30 0:13 direct index ( temp uint)
31 0:13 'inF0' ( in 2-component vector of uint)
36 0:13 direct index ( temp float)
37 0:13 unpackHalf2x16 ( temp 2-component vector of float)
38 0:13 direct index ( temp uint)
39 0:13 'inF0' ( in 2-component vector of uint)
44 0:17 Function Definition: PixelShaderFunction3(vu3; ( temp 3-component vector of float)
45 0:17 Function Parameters:
46 0:17 'inF0' ( in 3-component vector of uint)
48 0:18 Branch: Return with expression
49 0:18 Construct vec3 ( temp 3-component vector of float)
50 0:18 direct index ( temp float)
51 0:18 unpackHalf2x16 ( temp 2-component vector of float)
52 0:18 direct index ( temp uint)
53 0:18 'inF0' ( in 3-component vector of uint)
58 0:18 direct index ( temp float)
59 0:18 unpackHalf2x16 ( temp 2-component vector of float)
60 0:18 direct index ( temp uint)
61 0:18 'inF0' ( in 3-component vector of uint)
66 0:18 direct index ( temp float)
67 0:18 unpackHalf2x16 ( temp 2-component vector of float)
68 0:18 direct index ( temp uint)
69 0:18 'inF0' ( in 3-component vector of uint)
74 0:22 Function Definition: PixelShaderFunction(vu4; ( temp 4-component vector of float)
75 0:22 Function Parameters:
76 0:22 'inF0' ( in 4-component vector of uint)
78 0:23 Branch: Return with expression
79 0:23 Construct vec4 ( temp 4-component vector of float)
80 0:23 direct index ( temp float)
81 0:23 unpackHalf2x16 ( temp 2-component vector of float)
82 0:23 direct index ( temp uint)
83 0:23 'inF0' ( in 4-component vector of uint)
88 0:23 direct index ( temp float)
89 0:23 unpackHalf2x16 ( temp 2-component vector of float)
90 0:23 direct index ( temp uint)
91 0:23 'inF0' ( in 4-component vector of uint)
96 0:23 direct index ( temp float)
97 0:23 unpackHalf2x16 ( temp 2-component vector of float)
98 0:23 direct index ( temp uint)
99 0:23 'inF0' ( in 4-component vector of uint)
104 0:23 direct index ( temp float)
105 0:23 unpackHalf2x16 ( temp 2-component vector of float)
106 0:23 direct index ( temp uint)
107 0:23 'inF0' ( in 4-component vector of uint)
112 0:27 Function Definition: @main( ( temp 4-component vector of float)
113 0:27 Function Parameters:
115 0:28 Branch: Return with expression
121 0:27 Function Definition: main( ( temp void)
122 0:27 Function Parameters:
124 0:27 move second child to first child ( temp 4-component vector of float)
125 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
126 0:27 Function Call: @main( ( temp 4-component vector of float)
128 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
131 Linked fragment stage:
135 gl_FragCoord origin is upper left
137 0:2 Function Definition: PixelShaderFunctionS(u1; ( temp float)
138 0:2 Function Parameters:
139 0:2 'inF0' ( in uint)
141 0:3 Branch: Return with expression
142 0:3 direct index ( temp float)
143 0:3 unpackHalf2x16 ( temp 2-component vector of float)
144 0:3 'inF0' ( in uint)
147 0:7 Function Definition: PixelShaderFunction1(vu1; ( temp 1-component vector of float)
148 0:7 Function Parameters:
149 0:7 'inF0' ( in 1-component vector of uint)
151 0:8 Branch: Return with expression
154 0:12 Function Definition: PixelShaderFunction2(vu2; ( temp 2-component vector of float)
155 0:12 Function Parameters:
156 0:12 'inF0' ( in 2-component vector of uint)
158 0:13 Branch: Return with expression
159 0:13 Construct vec2 ( temp 2-component vector of float)
160 0:13 direct index ( temp float)
161 0:13 unpackHalf2x16 ( temp 2-component vector of float)
162 0:13 direct index ( temp uint)
163 0:13 'inF0' ( in 2-component vector of uint)
168 0:13 direct index ( temp float)
169 0:13 unpackHalf2x16 ( temp 2-component vector of float)
170 0:13 direct index ( temp uint)
171 0:13 'inF0' ( in 2-component vector of uint)
176 0:17 Function Definition: PixelShaderFunction3(vu3; ( temp 3-component vector of float)
177 0:17 Function Parameters:
178 0:17 'inF0' ( in 3-component vector of uint)
180 0:18 Branch: Return with expression
181 0:18 Construct vec3 ( temp 3-component vector of float)
182 0:18 direct index ( temp float)
183 0:18 unpackHalf2x16 ( temp 2-component vector of float)
184 0:18 direct index ( temp uint)
185 0:18 'inF0' ( in 3-component vector of uint)
190 0:18 direct index ( temp float)
191 0:18 unpackHalf2x16 ( temp 2-component vector of float)
192 0:18 direct index ( temp uint)
193 0:18 'inF0' ( in 3-component vector of uint)
198 0:18 direct index ( temp float)
199 0:18 unpackHalf2x16 ( temp 2-component vector of float)
200 0:18 direct index ( temp uint)
201 0:18 'inF0' ( in 3-component vector of uint)
206 0:22 Function Definition: PixelShaderFunction(vu4; ( temp 4-component vector of float)
207 0:22 Function Parameters:
208 0:22 'inF0' ( in 4-component vector of uint)
210 0:23 Branch: Return with expression
211 0:23 Construct vec4 ( temp 4-component vector of float)
212 0:23 direct index ( temp float)
213 0:23 unpackHalf2x16 ( temp 2-component vector of float)
214 0:23 direct index ( temp uint)
215 0:23 'inF0' ( in 4-component vector of uint)
220 0:23 direct index ( temp float)
221 0:23 unpackHalf2x16 ( temp 2-component vector of float)
222 0:23 direct index ( temp uint)
223 0:23 'inF0' ( in 4-component vector of uint)
228 0:23 direct index ( temp float)
229 0:23 unpackHalf2x16 ( temp 2-component vector of float)
230 0:23 direct index ( temp uint)
231 0:23 'inF0' ( in 4-component vector of uint)
236 0:23 direct index ( temp float)
237 0:23 unpackHalf2x16 ( temp 2-component vector of float)
238 0:23 direct index ( temp uint)
239 0:23 'inF0' ( in 4-component vector of uint)
244 0:27 Function Definition: @main( ( temp 4-component vector of float)
245 0:27 Function Parameters:
247 0:28 Branch: Return with expression
253 0:27 Function Definition: main( ( temp void)
254 0:27 Function Parameters:
256 0:27 move second child to first child ( temp 4-component vector of float)
257 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
258 0:27 Function Call: @main( ( temp 4-component vector of float)
260 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
262 // Module Version 10000
263 // Generated by (magic number): 80001
264 // Id's are bound by 103
267 1: ExtInstImport "GLSL.std.450"
268 MemoryModel Logical GLSL450
269 EntryPoint Fragment 4 "main" 101
270 ExecutionMode 4 OriginUpperLeft
272 Name 11 "PixelShaderFunctionS(u1;"
274 Name 14 "PixelShaderFunction1(vu1;"
276 Name 21 "PixelShaderFunction2(vu2;"
278 Name 28 "PixelShaderFunction3(vu3;"
280 Name 35 "PixelShaderFunction(vu4;"
283 Name 101 "@entryPointOutput"
284 Decorate 101(@entryPointOutput) Location 0
288 7: TypePointer Function 6(int)
290 9: TypeFunction 8(float) 7(ptr)
291 16: TypeVector 6(int) 2
292 17: TypePointer Function 16(ivec2)
293 18: TypeVector 8(float) 2
294 19: TypeFunction 18(fvec2) 17(ptr)
295 23: TypeVector 6(int) 3
296 24: TypePointer Function 23(ivec3)
297 25: TypeVector 8(float) 3
298 26: TypeFunction 25(fvec3) 24(ptr)
299 30: TypeVector 6(int) 4
300 31: TypePointer Function 30(ivec4)
301 32: TypeVector 8(float) 4
302 33: TypeFunction 32(fvec4) 31(ptr)
303 37: TypeFunction 32(fvec4)
304 42: 6(int) Constant 0
305 46: 8(float) Constant 0
306 53: 6(int) Constant 1
307 69: 6(int) Constant 2
308 89: 6(int) Constant 3
309 97: 32(fvec4) ConstantComposite 46 46 46 46
310 100: TypePointer Output 32(fvec4)
311 101(@entryPointOutput): 100(ptr) Variable Output
312 4(main): 2 Function None 3
314 102: 32(fvec4) FunctionCall 38(@main()
315 Store 101(@entryPointOutput) 102
318 11(PixelShaderFunctionS(u1;): 8(float) Function None 9
319 10(inF0): 7(ptr) FunctionParameter
321 40: 6(int) Load 10(inF0)
322 41: 18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 40
323 43: 8(float) CompositeExtract 41 0
326 14(PixelShaderFunction1(vu1;): 8(float) Function None 9
327 13(inF0): 7(ptr) FunctionParameter
331 21(PixelShaderFunction2(vu2;): 18(fvec2) Function None 19
332 20(inF0): 17(ptr) FunctionParameter
334 49: 7(ptr) AccessChain 20(inF0) 42
336 51: 18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 50
337 52: 8(float) CompositeExtract 51 0
338 54: 7(ptr) AccessChain 20(inF0) 53
340 56: 18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 55
341 57: 8(float) CompositeExtract 56 0
342 58: 18(fvec2) CompositeConstruct 52 57
345 28(PixelShaderFunction3(vu3;): 25(fvec3) Function None 26
346 27(inF0): 24(ptr) FunctionParameter
348 61: 7(ptr) AccessChain 27(inF0) 42
350 63: 18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 62
351 64: 8(float) CompositeExtract 63 0
352 65: 7(ptr) AccessChain 27(inF0) 53
354 67: 18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 66
355 68: 8(float) CompositeExtract 67 0
356 70: 7(ptr) AccessChain 27(inF0) 69
358 72: 18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 71
359 73: 8(float) CompositeExtract 72 0
360 74: 25(fvec3) CompositeConstruct 64 68 73
363 35(PixelShaderFunction(vu4;): 32(fvec4) Function None 33
364 34(inF0): 31(ptr) FunctionParameter
366 77: 7(ptr) AccessChain 34(inF0) 42
368 79: 18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 78
369 80: 8(float) CompositeExtract 79 0
370 81: 7(ptr) AccessChain 34(inF0) 53
372 83: 18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 82
373 84: 8(float) CompositeExtract 83 0
374 85: 7(ptr) AccessChain 34(inF0) 69
376 87: 18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 86
377 88: 8(float) CompositeExtract 87 0
378 90: 7(ptr) AccessChain 34(inF0) 89
380 92: 18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 91
381 93: 8(float) CompositeExtract 92 0
382 94: 32(fvec4) CompositeConstruct 80 84 88 93
385 38(@main(): 32(fvec4) Function None 37