1spv.voidFunction.frag 2// Module Version 10000 3// Generated by (magic number): 8000b 4// Id's are bound by 43 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Fragment 4 "main" 24 37 40 42 10 ExecutionMode 4 OriginUpperLeft 11 Source GLSL 400 12 Name 4 "main" 13 Name 6 "foo(" 14 Name 8 "foo2(" 15 Name 12 "bar" 16 Name 22 "outColor" 17 Name 24 "bigColor" 18 Name 37 "gl_FragColor" 19 Name 40 "BaseColor" 20 Name 42 "d" 21 Decorate 24(bigColor) Location 0 22 Decorate 37(gl_FragColor) Location 0 23 Decorate 40(BaseColor) Location 1 24 Decorate 42(d) Location 2 25 2: TypeVoid 26 3: TypeFunction 2 27 10: TypeFloat 32 28 11: TypePointer Private 10(float) 29 12(bar): 11(ptr) Variable Private 30 13: 10(float) Constant 1073741824 31 15: 10(float) Constant 1065353216 32 20: TypeVector 10(float) 4 33 21: TypePointer Function 20(fvec4) 34 23: TypePointer Input 20(fvec4) 35 24(bigColor): 23(ptr) Variable Input 36 29: TypeInt 32 0 37 30: 29(int) Constant 0 38 31: TypePointer Function 10(float) 39 36: TypePointer Output 20(fvec4) 4037(gl_FragColor): 36(ptr) Variable Output 41 40(BaseColor): 23(ptr) Variable Input 42 41: TypePointer Input 10(float) 43 42(d): 41(ptr) Variable Input 44 4(main): 2 Function None 3 45 5: Label 46 22(outColor): 21(ptr) Variable Function 47 Store 12(bar) 13 48 25: 20(fvec4) Load 24(bigColor) 49 Store 22(outColor) 25 50 26: 2 FunctionCall 6(foo() 51 27: 2 FunctionCall 8(foo2() 52 28: 10(float) Load 12(bar) 53 32: 31(ptr) AccessChain 22(outColor) 30 54 33: 10(float) Load 32 55 34: 10(float) FAdd 33 28 56 35: 31(ptr) AccessChain 22(outColor) 30 57 Store 35 34 58 38: 20(fvec4) Load 22(outColor) 59 Store 37(gl_FragColor) 38 60 Return 61 FunctionEnd 62 6(foo(): 2 Function None 3 63 7: Label 64 14: 10(float) Load 12(bar) 65 16: 10(float) FAdd 14 15 66 Store 12(bar) 16 67 Return 68 FunctionEnd 69 8(foo2(): 2 Function None 3 70 9: Label 71 18: 10(float) Load 12(bar) 72 19: 10(float) FAdd 18 15 73 Store 12(bar) 19 74 Return 75 FunctionEnd 76