3 gl_FragCoord origin is upper left
5 0:2 Function Definition: foo( ( temp 3-component vector of int)
6 0:2 Function Parameters:
8 0:3 Branch: Return with expression
13 0:7 Function Definition: @main(f1; ( temp 4-component vector of float)
14 0:7 Function Parameters:
17 0:8 Branch: Return with expression
18 0:8 Construct vec4 ( temp 4-component vector of float)
20 0:7 Function Definition: main( ( temp void)
21 0:7 Function Parameters:
23 0:7 move second child to first child ( temp float)
25 0:? 'f' (layout( location=0) in float)
26 0:7 move second child to first child ( temp 4-component vector of float)
27 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
28 0:7 Function Call: @main(f1; ( temp 4-component vector of float)
31 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
32 0:? 'f' (layout( location=0) in float)
35 Linked fragment stage:
39 gl_FragCoord origin is upper left
41 0:2 Function Definition: foo( ( temp 3-component vector of int)
42 0:2 Function Parameters:
44 0:3 Branch: Return with expression
49 0:7 Function Definition: @main(f1; ( temp 4-component vector of float)
50 0:7 Function Parameters:
53 0:8 Branch: Return with expression
54 0:8 Construct vec4 ( temp 4-component vector of float)
56 0:7 Function Definition: main( ( temp void)
57 0:7 Function Parameters:
59 0:7 move second child to first child ( temp float)
61 0:? 'f' (layout( location=0) in float)
62 0:7 move second child to first child ( temp 4-component vector of float)
63 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
64 0:7 Function Call: @main(f1; ( temp 4-component vector of float)
67 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
68 0:? 'f' (layout( location=0) in float)
70 // Module Version 10000
71 // Generated by (magic number): 8000b
72 // Id's are bound by 35
75 1: ExtInstImport "GLSL.std.450"
76 MemoryModel Logical GLSL450
77 EntryPoint Fragment 4 "main" 28 31
78 ExecutionMode 4 OriginUpperLeft
86 Name 31 "@entryPointOutput"
88 Decorate 28(f) Location 0
89 Decorate 31(@entryPointOutput) Location 0
93 7: TypeVector 6(int) 3
94 8: TypeFunction 7(ivec3)
96 12: TypePointer Function 11(float)
97 13: TypeVector 11(float) 4
98 14: TypeFunction 13(fvec4) 12(ptr)
99 18: 6(int) Constant 13
100 19: 7(ivec3) ConstantComposite 18 18 18
101 27: TypePointer Input 11(float)
102 28(f): 27(ptr) Variable Input
103 30: TypePointer Output 13(fvec4)
104 31(@entryPointOutput): 30(ptr) Variable Output
105 4(main): 2 Function None 3
107 26(f): 12(ptr) Variable Function
108 32(param): 12(ptr) Variable Function
109 29: 11(float) Load 28(f)
111 33: 11(float) Load 26(f)
113 34: 13(fvec4) FunctionCall 16(@main(f1;) 32(param)
114 Store 31(@entryPointOutput) 34
117 9(foo(): 7(ivec3) Function None 8
121 16(@main(f1;): 13(fvec4) Function None 14
122 15(f): 12(ptr) FunctionParameter
124 22: 11(float) Load 15(f)
125 23: 13(fvec4) CompositeConstruct 22 22 22 22