3 gl_FragCoord origin is upper left
5 0:2 Function Definition: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
6 0:2 Function Parameters:
7 0:2 'input' ( in 4-component vector of float)
9 0:3 Branch: Return with expression
10 0:3 sine ( temp 4-component vector of float)
11 0:3 'input' ( in 4-component vector of float)
12 0:2 Function Definition: PixelShaderFunction( ( temp void)
13 0:2 Function Parameters:
15 0:2 move second child to first child ( temp 4-component vector of float)
16 0:? 'input' ( temp 4-component vector of float)
17 0:? 'input' (layout( location=0) in 4-component vector of float)
18 0:2 move second child to first child ( temp 4-component vector of float)
19 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
20 0:2 Function Call: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
21 0:? 'input' ( temp 4-component vector of float)
23 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
24 0:? 'input' (layout( location=0) in 4-component vector of float)
27 Linked fragment stage:
31 gl_FragCoord origin is upper left
33 0:2 Function Definition: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
34 0:2 Function Parameters:
35 0:2 'input' ( in 4-component vector of float)
37 0:3 Branch: Return with expression
38 0:3 sine ( temp 4-component vector of float)
39 0:3 'input' ( in 4-component vector of float)
40 0:2 Function Definition: PixelShaderFunction( ( temp void)
41 0:2 Function Parameters:
43 0:2 move second child to first child ( temp 4-component vector of float)
44 0:? 'input' ( temp 4-component vector of float)
45 0:? 'input' (layout( location=0) in 4-component vector of float)
46 0:2 move second child to first child ( temp 4-component vector of float)
47 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
48 0:2 Function Call: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
49 0:? 'input' ( temp 4-component vector of float)
51 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
52 0:? 'input' (layout( location=0) in 4-component vector of float)
54 // Module Version 10000
55 // Generated by (magic number): 80001
56 // Id's are bound by 26
59 1: ExtInstImport "GLSL.std.450"
60 MemoryModel Logical GLSL450
61 EntryPoint Fragment 4 "PixelShaderFunction" 19 22
62 ExecutionMode 4 OriginUpperLeft
63 Name 4 "PixelShaderFunction"
64 Name 11 "@PixelShaderFunction(vf4;"
68 Name 22 "@entryPointOutput"
70 Decorate 19(input) Location 0
71 Decorate 22(@entryPointOutput) Location 0
75 7: TypeVector 6(float) 4
76 8: TypePointer Function 7(fvec4)
77 9: TypeFunction 7(fvec4) 8(ptr)
78 18: TypePointer Input 7(fvec4)
79 19(input): 18(ptr) Variable Input
80 21: TypePointer Output 7(fvec4)
81 22(@entryPointOutput): 21(ptr) Variable Output
82 4(PixelShaderFunction): 2 Function None 3
84 17(input): 8(ptr) Variable Function
85 23(param): 8(ptr) Variable Function
86 20: 7(fvec4) Load 19(input)
88 24: 7(fvec4) Load 17(input)
90 25: 7(fvec4) FunctionCall 11(@PixelShaderFunction(vf4;) 23(param)
91 Store 22(@entryPointOutput) 25
94 11(@PixelShaderFunction(vf4;): 7(fvec4) Function None 9
95 10(input): 8(ptr) FunctionParameter
97 13: 7(fvec4) Load 10(input)
98 14: 7(fvec4) ExtInst 1(GLSL.std.450) 13(Sin) 13