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 77
13 1: ExtInstImport "GLSL.std.450"
14 MemoryModel Logical GLSL450
15 EntryPoint Fragment 4 "main" 58 69
16 ExecutionMode 4 OriginLowerLeft
22 Name 16 "unreachableReturn("
23 Name 18 "missingReturn("
31 Name 69 "gl_FragColor"
36 7: TypeVector 6(float) 4
37 8: TypePointer Function 7(fvec4)
38 9: TypeFunction 6(float) 8(ptr)
39 15: TypeFunction 6(float)
40 20: TypePointer Private 6(float)
41 21(h): 20(ptr) Variable Private
42 22: 6(float) Constant 0
44 24: 23(int) Constant 0
45 25: TypePointer Function 6(float)
46 28: 23(int) Constant 1
47 34: TypePointer UniformConstant 6(float)
48 35(d): 34(ptr) Variable UniformConstant
49 37: 6(float) Constant 1082549862
51 42: 6(float) Constant 1067030938
52 45: 6(float) Constant 1083179008
53 53: 6(float) Constant 1081711002
54 57: TypePointer Input 7(fvec4)
55 58(BaseColor): 57(ptr) Variable Input
56 68: TypePointer Output 7(fvec4)
57 69(gl_FragColor): 68(ptr) Variable Output
58 75: TypePointer UniformConstant 7(fvec4)
59 76(bigColor): 75(ptr) Variable UniformConstant
60 4(main): 2 Function None 3
62 56(color): 8(ptr) Variable Function
63 59(param): 8(ptr) Variable Function
64 64(f): 25(ptr) Variable Function
65 66(g): 25(ptr) Variable Function
67 60: 7(fvec4) Load 58(BaseColor)
69 61: 6(float) FunctionCall 11(foo(vf4;) 59(param)
70 62: 7(fvec4) CompositeConstruct 61 61 61 61
72 63: 2 FunctionCall 13(bar()
73 65: 6(float) FunctionCall 16(unreachableReturn()
75 67: 6(float) FunctionCall 18(missingReturn()
77 70: 7(fvec4) Load 56(color)
78 71: 6(float) Load 64(f)
79 72: 7(fvec4) VectorTimesScalar 70 71
80 73: 6(float) Load 21(h)
81 74: 7(fvec4) VectorTimesScalar 72 73
82 Store 69(gl_FragColor) 74
85 11(foo(vf4;): 6(float) Function None 9
86 10(bar): 8(ptr) FunctionParameter
88 26: 25(ptr) AccessChain 10(bar) 24
90 29: 25(ptr) AccessChain 10(bar) 28
92 31: 6(float) FAdd 27 30
95 13(bar(): 2 Function None 3
99 16(unreachableReturn(): 6(float) Function None 15
101 36: 6(float) Load 35(d)
102 39: 38(bool) FOrdLessThan 36 37
103 SelectionMerge 41 None
104 BranchConditional 39 40 44
113 18(missingReturn(): 6(float) Function None 15
115 48: 6(float) Load 35(d)
116 49: 38(bool) FOrdLessThan 48 45
117 SelectionMerge 51 None
118 BranchConditional 49 50 51
120 52: 6(float) Load 35(d)