1 hlsl.intrinsic.frexp.frag
3 gl_FragCoord origin is upper left
5 0:3 Function Definition: PixelShaderFunctionS(f1;f1; ( temp float)
6 0:3 Function Parameters:
11 0:4 move second child to first child ( temp float)
12 0:4 'r000' ( temp float)
13 0:4 frexp ( temp float)
14 0:4 'inF0' ( in float)
15 0:4 'inF1' ( in float)
16 0:5 Branch: Return with expression
19 0:9 Function Definition: PixelShaderFunction2(vf2;vf2; ( temp 2-component vector of float)
20 0:9 Function Parameters:
21 0:9 'inF0' ( in 2-component vector of float)
22 0:9 'inF1' ( in 2-component vector of float)
25 0:10 move second child to first child ( temp 2-component vector of float)
26 0:10 'r000' ( temp 2-component vector of float)
27 0:10 frexp ( temp 2-component vector of float)
28 0:10 'inF0' ( in 2-component vector of float)
29 0:10 'inF1' ( in 2-component vector of float)
30 0:11 Branch: Return with expression
34 0:15 Function Definition: PixelShaderFunction3(vf3;vf3; ( temp 3-component vector of float)
35 0:15 Function Parameters:
36 0:15 'inF0' ( in 3-component vector of float)
37 0:15 'inF1' ( in 3-component vector of float)
40 0:16 move second child to first child ( temp 3-component vector of float)
41 0:16 'r000' ( temp 3-component vector of float)
42 0:16 frexp ( temp 3-component vector of float)
43 0:16 'inF0' ( in 3-component vector of float)
44 0:16 'inF1' ( in 3-component vector of float)
45 0:17 Branch: Return with expression
50 0:21 Function Definition: PixelShaderFunction(vf4;vf4; ( temp 4-component vector of float)
51 0:21 Function Parameters:
52 0:21 'inF0' ( in 4-component vector of float)
53 0:21 'inF1' ( in 4-component vector of float)
56 0:22 move second child to first child ( temp 4-component vector of float)
57 0:22 'r000' ( temp 4-component vector of float)
58 0:22 frexp ( temp 4-component vector of float)
59 0:22 'inF0' ( in 4-component vector of float)
60 0:22 'inF1' ( in 4-component vector of float)
61 0:23 Branch: Return with expression
67 0:33 Function Definition: @main( ( temp structure{ temp 4-component vector of float color})
68 0:33 Function Parameters:
70 0:35 move second child to first child ( temp 4-component vector of float)
71 0:35 color: direct index for structure ( temp 4-component vector of float)
72 0:35 'ps_output' ( temp structure{ temp 4-component vector of float color})
80 0:36 Branch: Return with expression
81 0:36 'ps_output' ( temp structure{ temp 4-component vector of float color})
82 0:33 Function Definition: main( ( temp void)
83 0:33 Function Parameters:
86 0:33 move second child to first child ( temp 4-component vector of float)
87 0:? 'color' (layout( location=0) out 4-component vector of float)
88 0:33 color: direct index for structure ( temp 4-component vector of float)
89 0:33 Function Call: @main( ( temp structure{ temp 4-component vector of float color})
93 0:? 'color' (layout( location=0) out 4-component vector of float)
96 Linked fragment stage:
100 gl_FragCoord origin is upper left
102 0:3 Function Definition: PixelShaderFunctionS(f1;f1; ( temp float)
103 0:3 Function Parameters:
104 0:3 'inF0' ( in float)
105 0:3 'inF1' ( in float)
108 0:4 move second child to first child ( temp float)
109 0:4 'r000' ( temp float)
110 0:4 frexp ( temp float)
111 0:4 'inF0' ( in float)
112 0:4 'inF1' ( in float)
113 0:5 Branch: Return with expression
116 0:9 Function Definition: PixelShaderFunction2(vf2;vf2; ( temp 2-component vector of float)
117 0:9 Function Parameters:
118 0:9 'inF0' ( in 2-component vector of float)
119 0:9 'inF1' ( in 2-component vector of float)
122 0:10 move second child to first child ( temp 2-component vector of float)
123 0:10 'r000' ( temp 2-component vector of float)
124 0:10 frexp ( temp 2-component vector of float)
125 0:10 'inF0' ( in 2-component vector of float)
126 0:10 'inF1' ( in 2-component vector of float)
127 0:11 Branch: Return with expression
131 0:15 Function Definition: PixelShaderFunction3(vf3;vf3; ( temp 3-component vector of float)
132 0:15 Function Parameters:
133 0:15 'inF0' ( in 3-component vector of float)
134 0:15 'inF1' ( in 3-component vector of float)
137 0:16 move second child to first child ( temp 3-component vector of float)
138 0:16 'r000' ( temp 3-component vector of float)
139 0:16 frexp ( temp 3-component vector of float)
140 0:16 'inF0' ( in 3-component vector of float)
141 0:16 'inF1' ( in 3-component vector of float)
142 0:17 Branch: Return with expression
147 0:21 Function Definition: PixelShaderFunction(vf4;vf4; ( temp 4-component vector of float)
148 0:21 Function Parameters:
149 0:21 'inF0' ( in 4-component vector of float)
150 0:21 'inF1' ( in 4-component vector of float)
153 0:22 move second child to first child ( temp 4-component vector of float)
154 0:22 'r000' ( temp 4-component vector of float)
155 0:22 frexp ( temp 4-component vector of float)
156 0:22 'inF0' ( in 4-component vector of float)
157 0:22 'inF1' ( in 4-component vector of float)
158 0:23 Branch: Return with expression
164 0:33 Function Definition: @main( ( temp structure{ temp 4-component vector of float color})
165 0:33 Function Parameters:
167 0:35 move second child to first child ( temp 4-component vector of float)
168 0:35 color: direct index for structure ( temp 4-component vector of float)
169 0:35 'ps_output' ( temp structure{ temp 4-component vector of float color})
177 0:36 Branch: Return with expression
178 0:36 'ps_output' ( temp structure{ temp 4-component vector of float color})
179 0:33 Function Definition: main( ( temp void)
180 0:33 Function Parameters:
183 0:33 move second child to first child ( temp 4-component vector of float)
184 0:? 'color' (layout( location=0) out 4-component vector of float)
185 0:33 color: direct index for structure ( temp 4-component vector of float)
186 0:33 Function Call: @main( ( temp structure{ temp 4-component vector of float color})
190 0:? 'color' (layout( location=0) out 4-component vector of float)
192 // Module Version 10000
193 // Generated by (magic number): 80001
194 // Id's are bound by 98
197 1: ExtInstImport "GLSL.std.450"
198 MemoryModel Logical GLSL450
199 EntryPoint Fragment 4 "main" 95
200 ExecutionMode 4 OriginUpperLeft
202 Name 11 "PixelShaderFunctionS(f1;f1;"
205 Name 18 "PixelShaderFunction2(vf2;vf2;"
208 Name 25 "PixelShaderFunction3(vf3;vf3;"
211 Name 32 "PixelShaderFunction(vf4;vf4;"
215 MemberName 34(PS_OUTPUT) 0 "color"
227 Decorate 95(color) Location 0
231 7: TypePointer Function 6(float)
232 8: TypeFunction 6(float) 7(ptr) 7(ptr)
233 13: TypeVector 6(float) 2
234 14: TypePointer Function 13(fvec2)
235 15: TypeFunction 13(fvec2) 14(ptr) 14(ptr)
236 20: TypeVector 6(float) 3
237 21: TypePointer Function 20(fvec3)
238 22: TypeFunction 20(fvec3) 21(ptr) 21(ptr)
239 27: TypeVector 6(float) 4
240 28: TypePointer Function 27(fvec4)
241 29: TypeFunction 27(fvec4) 28(ptr) 28(ptr)
242 34(PS_OUTPUT): TypeStruct 27(fvec4)
243 35: TypeFunction 34(PS_OUTPUT)
245 41(ResType): TypeStruct 6(float) 40(int)
246 46: 6(float) Constant 0
247 51: TypeVector 40(int) 2
248 52(ResType): TypeStruct 13(fvec2) 51(ivec2)
249 57: 6(float) Constant 1065353216
250 58: 6(float) Constant 1073741824
251 59: 13(fvec2) ConstantComposite 57 58
252 64: TypeVector 40(int) 3
253 65(ResType): TypeStruct 20(fvec3) 64(ivec3)
254 70: 6(float) Constant 1077936128
255 71: 20(fvec3) ConstantComposite 57 58 70
256 76: TypeVector 40(int) 4
257 77(ResType): TypeStruct 27(fvec4) 76(ivec4)
258 82: 6(float) Constant 1082130432
259 83: 27(fvec4) ConstantComposite 57 58 70 82
260 86: TypePointer Function 34(PS_OUTPUT)
261 88: 40(int) Constant 0
262 89: 27(fvec4) ConstantComposite 57 57 57 57
263 94: TypePointer Output 27(fvec4)
264 95(color): 94(ptr) Variable Output
265 4(main): 2 Function None 3
267 96:34(PS_OUTPUT) FunctionCall 36(@main()
268 97: 27(fvec4) CompositeExtract 96 0
272 11(PixelShaderFunctionS(f1;f1;): 6(float) Function None 8
273 9(inF0): 7(ptr) FunctionParameter
274 10(inF1): 7(ptr) FunctionParameter
276 38(r000): 7(ptr) Variable Function
277 39: 6(float) Load 9(inF0)
278 42: 41(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 39
279 43: 40(int) CompositeExtract 42 1
280 44: 6(float) ConvertSToF 43
282 45: 6(float) CompositeExtract 42 0
286 18(PixelShaderFunction2(vf2;vf2;): 13(fvec2) Function None 15
287 16(inF0): 14(ptr) FunctionParameter
288 17(inF1): 14(ptr) FunctionParameter
290 49(r000): 14(ptr) Variable Function
291 50: 13(fvec2) Load 16(inF0)
292 53: 52(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 50
293 54: 51(ivec2) CompositeExtract 53 1
294 55: 13(fvec2) ConvertSToF 54
296 56: 13(fvec2) CompositeExtract 53 0
300 25(PixelShaderFunction3(vf3;vf3;): 20(fvec3) Function None 22
301 23(inF0): 21(ptr) FunctionParameter
302 24(inF1): 21(ptr) FunctionParameter
304 62(r000): 21(ptr) Variable Function
305 63: 20(fvec3) Load 23(inF0)
306 66: 65(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 63
307 67: 64(ivec3) CompositeExtract 66 1
308 68: 20(fvec3) ConvertSToF 67
310 69: 20(fvec3) CompositeExtract 66 0
314 32(PixelShaderFunction(vf4;vf4;): 27(fvec4) Function None 29
315 30(inF0): 28(ptr) FunctionParameter
316 31(inF1): 28(ptr) FunctionParameter
318 74(r000): 28(ptr) Variable Function
319 75: 27(fvec4) Load 30(inF0)
320 78: 77(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 75
321 79: 76(ivec4) CompositeExtract 78 1
322 80: 27(fvec4) ConvertSToF 79
324 81: 27(fvec4) CompositeExtract 78 0
328 36(@main():34(PS_OUTPUT) Function None 35
330 87(ps_output): 86(ptr) Variable Function
331 90: 28(ptr) AccessChain 87(ps_output) 88
333 91:34(PS_OUTPUT) Load 87(ps_output)