1spv.simpleFunctionCall.frag 2// Module Version 10000 3// Generated by (magic number): 8000b 4// Id's are bound by 19 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Fragment 4 "main" 12 17 10 ExecutionMode 4 OriginUpperLeft 11 Source GLSL 150 12 Name 4 "main" 13 Name 9 "foo(" 14 Name 12 "BaseColor" 15 Name 17 "gl_FragColor" 16 Decorate 12(BaseColor) Location 0 17 Decorate 17(gl_FragColor) Location 0 18 2: TypeVoid 19 3: TypeFunction 2 20 6: TypeFloat 32 21 7: TypeVector 6(float) 4 22 8: TypeFunction 7(fvec4) 23 11: TypePointer Input 7(fvec4) 24 12(BaseColor): 11(ptr) Variable Input 25 16: TypePointer Output 7(fvec4) 2617(gl_FragColor): 16(ptr) Variable Output 27 4(main): 2 Function None 3 28 5: Label 29 18: 7(fvec4) FunctionCall 9(foo() 30 Store 17(gl_FragColor) 18 31 Return 32 FunctionEnd 33 9(foo(): 7(fvec4) Function None 8 34 10: Label 35 13: 7(fvec4) Load 12(BaseColor) 36 ReturnValue 13 37 FunctionEnd 38