3 // Module Version 10400
4 // Generated by (magic number): 80007
5 // Id's are bound by 98
8 1: ExtInstImport "GLSL.std.450"
9 MemoryModel Logical GLSL450
10 EntryPoint Fragment 4 "main" 17 20 82 84
11 ExecutionMode 4 OriginUpperLeft
25 MemberName 75(S1) 0 "a"
26 MemberName 75(S1) 1 "b"
30 Decorate 17(outv) Location 0
31 Decorate 20(cond) Flat
32 Decorate 20(cond) Location 4
34 Decorate 82(in1) Location 0
36 Decorate 84(in2) Location 2
40 11: TypePointer Function 10(float)
41 13: 10(float) Constant 1065353216
42 15: 10(float) Constant 1073741824
43 16: TypePointer Output 10(float)
44 17(outv): 16(ptr) Variable Output
46 19: TypePointer Input 18(int)
47 20(cond): 19(ptr) Variable Input
48 22: 18(int) Constant 8
50 28: TypeVector 18(int) 4
51 29: TypePointer Function 28(ivec4)
52 39: 18(int) Constant 0
54 45: 44(int) Constant 2
55 50: TypeVector 10(float) 3
56 51: TypeMatrix 50(fvec3) 3
57 52: TypePointer Function 51
58 54: 10(float) Constant 0
59 55: 50(fvec3) ConstantComposite 13 54 54
60 56: 50(fvec3) ConstantComposite 54 13 54
61 57: 50(fvec3) ConstantComposite 54 54 13
62 58: 51 ConstantComposite 55 56 57
63 60: 50(fvec3) ConstantComposite 15 54 54
64 61: 50(fvec3) ConstantComposite 54 15 54
65 62: 50(fvec3) ConstantComposite 54 54 15
66 63: 51 ConstantComposite 60 61 62
67 65: 18(int) Constant 20
68 70: 18(int) Constant 2
69 71: 44(int) Constant 1
70 75(S1): TypeStruct 10(float) 18(int)
71 76: TypePointer Function 75(S1)
72 79: 18(int) Constant 5
73 81: TypePointer Input 75(S1)
74 82(in1): 81(ptr) Variable Input
75 84(in2): 81(ptr) Variable Input
76 4(main): 2 Function None 3
78 12(f1): 11(ptr) Variable Function
79 14(f2): 11(ptr) Variable Function
80 30(iv1): 29(ptr) Variable Function
81 34(iv2): 29(ptr) Variable Function
82 53(m1): 52(ptr) Variable Function
83 59(m2): 52(ptr) Variable Function
84 77(fv): 76(ptr) Variable Function
87 21: 18(int) Load 20(cond)
88 24: 23(bool) SLessThan 21 22
89 25: 10(float) Load 12(f1)
90 26: 10(float) Load 14(f2)
91 27: 10(float) Select 24 25 26
93 31: 10(float) Load 12(f1)
94 32: 18(int) ConvertFToS 31
95 33: 28(ivec4) CompositeConstruct 32 32 32 32
97 35: 10(float) Load 14(f2)
98 36: 18(int) ConvertFToS 35
99 37: 28(ivec4) CompositeConstruct 36 36 36 36
101 38: 18(int) Load 20(cond)
102 40: 23(bool) SGreaterThan 38 39
103 41: 28(ivec4) Load 30(iv1)
104 42: 28(ivec4) Load 34(iv2)
105 43: 28(ivec4) Select 40 41 42
106 46: 18(int) CompositeExtract 43 2
107 47: 10(float) ConvertSToF 46
108 48: 10(float) Load 17(outv)
109 49: 10(float) FMul 48 47
113 64: 18(int) Load 20(cond)
114 66: 23(bool) SLessThan 64 65
117 69: 51 Select 66 67 68
118 72: 10(float) CompositeExtract 69 2 1
119 73: 10(float) Load 17(outv)
120 74: 10(float) FMul 73 72
122 78: 18(int) Load 20(cond)
123 80: 23(bool) SGreaterThan 78 79
124 83: 75(S1) Load 82(in1)
125 85: 75(S1) Load 84(in2)
126 86: 75(S1) Select 80 83 85
128 87: 11(ptr) AccessChain 77(fv) 39
129 88: 10(float) Load 87
130 89: 10(float) Load 17(outv)
131 90: 10(float) FMul 89 88
133 91: 18(int) Load 20(cond)
134 92: 23(bool) SGreaterThan 91 39
135 SelectionMerge 94 None
136 BranchConditional 92 93 96
138 95: 2 FunctionCall 6(fun1()
141 97: 2 FunctionCall 8(fun2()
146 6(fun1(): 2 Function None 3
150 8(fun2(): 2 Function None 3