6 // Module Version 10000
7 // Generated by (magic number): 80001
8 // Id's are bound by 61
11 1: ExtInstImport "GLSL.std.450"
12 MemoryModel Logical GLSL450
13 EntryPoint Fragment 4 "main" 20 30
14 ExecutionMode 4 OriginLowerLeft
18 Name 10 "unreachableReturn("
25 Name 30 "gl_FragColor"
28 Decorate 18(color) RelaxedPrecision
29 Decorate 20(BaseColor) RelaxedPrecision
30 Decorate 27(f) RelaxedPrecision
31 Decorate 30(gl_FragColor) RelaxedPrecision
32 Decorate 36(d) RelaxedPrecision
33 Decorate 60(bigColor) RelaxedPrecision
37 9: TypeFunction 8(float)
38 12: TypeVector 8(float) 4
39 13: TypePointer Function 12(fvec4)
40 14: TypeFunction 8(float) 13(ptr)
41 19: TypePointer Input 12(fvec4)
42 20(BaseColor): 19(ptr) Variable Input
43 26: TypePointer Function 8(float)
44 29: TypePointer Output 12(fvec4)
45 30(gl_FragColor): 29(ptr) Variable Output
46 35: TypePointer UniformConstant 8(float)
47 36(d): 35(ptr) Variable UniformConstant
48 38: 8(float) Constant 1082549862
50 43: 8(float) Constant 1067030938
51 46: 8(float) Constant 1083179008
53 50: 49(int) Constant 0
54 53: 49(int) Constant 1
55 59: TypePointer UniformConstant 12(fvec4)
56 60(bigColor): 59(ptr) Variable UniformConstant
57 4(main): 2 Function None 3
59 18(color): 13(ptr) Variable Function
60 21(param): 13(ptr) Variable Function
61 27(f): 26(ptr) Variable Function
62 22: 12(fvec4) Load 20(BaseColor)
64 23: 8(float) FunctionCall 16(foo(vf4;) 21(param)
65 24: 12(fvec4) CompositeConstruct 23 23 23 23
67 25: 2 FunctionCall 6(bar()
68 28: 8(float) FunctionCall 10(unreachableReturn()
70 31: 12(fvec4) Load 18(color)
71 32: 8(float) Load 27(f)
72 33: 12(fvec4) VectorTimesScalar 31 32
73 Store 30(gl_FragColor) 33
76 6(bar(): 2 Function None 3
80 10(unreachableReturn(): 8(float) Function None 9
82 34: 2 FunctionCall 6(bar()
83 37: 8(float) Load 36(d)
84 40: 39(bool) FOrdLessThan 37 38
85 SelectionMerge 42 None
86 BranchConditional 40 41 45
95 16(foo(vf4;): 8(float) Function None 14
96 15(bar): 13(ptr) FunctionParameter
98 51: 26(ptr) AccessChain 15(bar) 50
100 54: 26(ptr) AccessChain 15(bar) 53
102 56: 8(float) FAdd 52 55