1 spv.simpleFunctionCall.frag
2 WARNING: 0:4: varying deprecated in version 130; may be removed in future release
8 // Module Version 10000
9 // Generated by (magic number): 80001
10 // Id's are bound by 22
13 1: ExtInstImport "GLSL.std.450"
14 MemoryModel Logical GLSL450
15 EntryPoint Fragment 4 "main" 12 16
16 ExecutionMode 4 OriginLowerLeft
21 Name 16 "gl_FragColor"
27 7: TypeVector 6(float) 4
28 8: TypeFunction 7(fvec4)
29 11: TypePointer Input 7(fvec4)
30 12(BaseColor): 11(ptr) Variable Input
31 15: TypePointer Output 7(fvec4)
32 16(gl_FragColor): 15(ptr) Variable Output
33 18: TypePointer UniformConstant 7(fvec4)
34 19(bigColor): 18(ptr) Variable UniformConstant
35 20: TypePointer UniformConstant 6(float)
36 21(d): 20(ptr) Variable UniformConstant
37 4(main): 2 Function None 3
39 17: 7(fvec4) FunctionCall 9(foo()
40 Store 16(gl_FragColor) 17
43 9(foo(): 7(fvec4) Function None 8
45 13: 7(fvec4) Load 12(BaseColor)