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 23
13 1: ExtInstImport "GLSL.std.450"
14 MemoryModel Logical GLSL450
15 EntryPoint Fragment 4 "main" 12 17
16 ExecutionMode 4 OriginLowerLeft
21 Name 17 "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 16: TypePointer Output 7(fvec4)
32 17(gl_FragColor): 16(ptr) Variable Output
33 19: TypePointer UniformConstant 7(fvec4)
34 20(bigColor): 19(ptr) Variable UniformConstant
35 21: TypePointer UniformConstant 6(float)
36 22(d): 21(ptr) Variable UniformConstant
37 4(main): 2 Function None 3
39 18: 7(fvec4) FunctionCall 9(foo()
40 Store 17(gl_FragColor) 18
43 9(foo(): 7(fvec4) Function None 8
45 13: 7(fvec4) Load 12(BaseColor)