6 // Module Version 10000
7 // Generated by (magic number): 80001
8 // Id's are bound by 114
11 1: ExtInstImport "GLSL.std.450"
12 MemoryModel Logical GLSL450
13 EntryPoint Fragment 4 "main" 23 59 61 73
14 ExecutionMode 4 OriginLowerLeft
19 Name 19 "boolfun(vb2;"
23 Name 40 "uniform_medium"
24 Name 42 "uniform_high"
31 Name 65 "global_highp"
36 Decorate 38(sum) RelaxedPrecision
37 Decorate 40(uniform_medium) RelaxedPrecision
38 Decorate 48(uniform_low) RelaxedPrecision
39 Decorate 53(arg1) RelaxedPrecision
40 Decorate 55(arg2) RelaxedPrecision
41 Decorate 57(d) RelaxedPrecision
42 Decorate 59(lowfin) RelaxedPrecision
43 Decorate 61(mediumfin) RelaxedPrecision
44 Decorate 73(mediumfout) RelaxedPrecision
48 7: TypeVector 6(float) 3
49 8: TypePointer Function 7(fvec3)
50 9: TypeVector 6(float) 2
51 10: TypeFunction 9(fvec2) 8(ptr)
53 15: TypeVector 14(bool) 2
54 16: TypePointer Function 15(bvec2)
55 17: TypeFunction 14(bool) 16(ptr)
56 21: TypeVector 6(float) 4
57 22: TypePointer Input 21(fvec4)
58 23(highfin): 22(ptr) Variable Input
59 29: 14(bool) ConstantFalse
60 30: 14(bool) ConstantTrue
61 31: 15(bvec2) ConstantComposite 29 30
63 37: TypePointer Function 36(int)
64 39: TypePointer UniformConstant 36(int)
65 40(uniform_medium): 39(ptr) Variable UniformConstant
66 42(uniform_high): 39(ptr) Variable UniformConstant
67 48(uniform_low): 39(ptr) Variable UniformConstant
68 52: TypePointer Function 6(float)
69 54: 6(float) Constant 1078774989
70 56: 6(float) Constant 1232730691
71 58: TypePointer Input 6(float)
72 59(lowfin): 58(ptr) Variable Input
73 61(mediumfin): 58(ptr) Variable Input
74 64: TypePointer Private 6(float)
75 65(global_highp): 64(ptr) Variable Private
76 68: TypePointer Function 21(fvec4)
77 72: TypePointer Output 21(fvec4)
78 73(mediumfout): 72(ptr) Variable Output
79 82: 36(int) Constant 4
80 84: TypeVector 36(int) 2
82 93: 92(int) Constant 0
83 103: TypePointer UniformConstant 15(bvec2)
84 104(ub2): 103(ptr) Variable UniformConstant
85 111: 6(float) Constant 1065353216
86 4(main): 2 Function None 3
88 38(sum): 37(ptr) Variable Function
89 53(arg1): 52(ptr) Variable Function
90 55(arg2): 52(ptr) Variable Function
91 57(d): 52(ptr) Variable Function
92 69(local_highp): 68(ptr) Variable Function
93 105(param): 16(ptr) Variable Function
94 41: 36(int) Load 40(uniform_medium)
95 43: 36(int) Load 42(uniform_high)
96 44: 36(int) IAdd 41 43
98 45: 36(int) Load 42(uniform_high)
99 46: 36(int) Load 38(sum)
100 47: 36(int) IAdd 46 45
102 49: 36(int) Load 48(uniform_low)
103 50: 36(int) Load 38(sum)
104 51: 36(int) IAdd 50 49
108 60: 6(float) Load 59(lowfin)
109 62: 6(float) Load 61(mediumfin)
110 63: 6(float) ExtInst 1(GLSL.std.450) 67(Distance) 60 62
112 66: 21(fvec4) Load 23(highfin)
113 67: 6(float) ExtInst 1(GLSL.std.450) 66(Length) 66
114 Store 65(global_highp) 67
115 70: 6(float) Load 65(global_highp)
116 71: 21(fvec4) CompositeConstruct 70 70 70 70
117 Store 69(local_highp) 71
118 74: 6(float) Load 57(d)
119 75: 6(float) ExtInst 1(GLSL.std.450) 13(Sin) 74
120 76: 21(fvec4) CompositeConstruct 75 75 75 75
121 77: 6(float) Load 55(arg2)
122 78: 21(fvec4) CompositeConstruct 77 77 77 77
123 79: 21(fvec4) FAdd 76 78
124 80: 21(fvec4) Load 69(local_highp)
125 81: 21(fvec4) FAdd 79 80
126 Store 73(mediumfout) 81
127 83: 36(int) Load 48(uniform_low)
128 85: 84(ivec2) CompositeConstruct 83 83
129 86: 36(int) Load 42(uniform_high)
130 87: 84(ivec2) CompositeConstruct 86 86
131 88: 84(ivec2) IMul 85 87
132 89: 36(int) Load 42(uniform_high)
133 90: 84(ivec2) CompositeConstruct 89 89
134 91: 84(ivec2) IAdd 88 90
135 94: 36(int) CompositeExtract 91 0
136 95: 36(int) IAdd 82 94
137 96: 36(int) Load 38(sum)
138 97: 36(int) IAdd 96 95
140 98: 36(int) Load 38(sum)
141 99: 6(float) ConvertSToF 98
142 100: 21(fvec4) CompositeConstruct 99 99 99 99
143 101: 21(fvec4) Load 73(mediumfout)
144 102: 21(fvec4) FAdd 101 100
145 Store 73(mediumfout) 102
146 106: 15(bvec2) Load 104(ub2)
148 107: 14(bool) FunctionCall 19(boolfun(vb2;) 105(param)
149 SelectionMerge 109 None
150 BranchConditional 107 108 109
152 110: 21(fvec4) Load 73(mediumfout)
153 112: 21(fvec4) CompositeConstruct 111 111 111 111
154 113: 21(fvec4) FAdd 110 112
155 Store 73(mediumfout) 113
160 12(foo(vf3;): 9(fvec2) Function None 10
161 11(mv3): 8(ptr) FunctionParameter
163 24: 21(fvec4) Load 23(highfin)
164 25: 9(fvec2) VectorShuffle 24 24 0 1
167 19(boolfun(vb2;): 14(bool) Function None 17
168 18(bv2): 16(ptr) FunctionParameter
170 28: 15(bvec2) Load 18(bv2)
171 32: 15(bvec2) LogicalEqual 28 31