summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glsl/emit_glsl_integer.cpp
diff options
context:
space:
mode:
authorGravatar ameerj2021-05-21 19:55:58 -0400
committerGravatar ameerj2021-07-22 21:51:35 -0400
commitfb75d122a242a5e43d36edc916e16a873f807acd (patch)
tree1f2c7e7d8f001072d118939725cb18669e26791f /src/shader_recompiler/backend/glsl/emit_glsl_integer.cpp
parentglsl: Pass IR::Inst& to Emit functions (diff)
downloadyuzu-fb75d122a242a5e43d36edc916e16a873f807acd.tar.gz
yuzu-fb75d122a242a5e43d36edc916e16a873f807acd.tar.xz
yuzu-fb75d122a242a5e43d36edc916e16a873f807acd.zip
glsl: Use std::string_view for Emit function args.
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_glsl_integer.cpp')
-rw-r--r--src/shader_recompiler/backend/glsl/emit_glsl_integer.cpp114
1 files changed, 63 insertions, 51 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_integer.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_integer.cpp
index 0dadf1d93..a22313141 100644
--- a/src/shader_recompiler/backend/glsl/emit_glsl_integer.cpp
+++ b/src/shader_recompiler/backend/glsl/emit_glsl_integer.cpp
@@ -12,221 +12,233 @@
12 12
13namespace Shader::Backend::GLSL { 13namespace Shader::Backend::GLSL {
14void EmitIAdd32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 14void EmitIAdd32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
15 [[maybe_unused]] std::string a, [[maybe_unused]] std::string b) { 15 [[maybe_unused]] std::string_view a, [[maybe_unused]] std::string_view b) {
16 ctx.AddU32("{}={}+{};", inst, a, b); 16 ctx.AddU32("{}={}+{};", inst, a, b);
17} 17}
18 18
19void EmitIAdd64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 19void EmitIAdd64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
20 [[maybe_unused]] std::string a, [[maybe_unused]] std::string b) { 20 [[maybe_unused]] std::string_view a, [[maybe_unused]] std::string_view b) {
21 throw NotImplementedException("GLSL Instruction"); 21 throw NotImplementedException("GLSL Instruction");
22} 22}
23 23
24void EmitISub32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 24void EmitISub32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
25 [[maybe_unused]] std::string a, [[maybe_unused]] std::string b) { 25 [[maybe_unused]] std::string_view a, [[maybe_unused]] std::string_view b) {
26 throw NotImplementedException("GLSL Instruction"); 26 throw NotImplementedException("GLSL Instruction");
27} 27}
28 28
29void EmitISub64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 29void EmitISub64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
30 [[maybe_unused]] std::string a, [[maybe_unused]] std::string b) { 30 [[maybe_unused]] std::string_view a, [[maybe_unused]] std::string_view b) {
31 throw NotImplementedException("GLSL Instruction"); 31 throw NotImplementedException("GLSL Instruction");
32} 32}
33 33
34void EmitIMul32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 34void EmitIMul32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
35 [[maybe_unused]] std::string a, [[maybe_unused]] std::string b) { 35 [[maybe_unused]] std::string_view a, [[maybe_unused]] std::string_view b) {
36 throw NotImplementedException("GLSL Instruction"); 36 throw NotImplementedException("GLSL Instruction");
37} 37}
38 38
39void EmitINeg32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 39void EmitINeg32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
40 [[maybe_unused]] std::string value) { 40 [[maybe_unused]] std::string_view value) {
41 ctx.AddU32("{}=-{};", inst, value); 41 ctx.AddU32("{}=-{};", inst, value);
42} 42}
43 43
44void EmitINeg64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 44void EmitINeg64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
45 [[maybe_unused]] std::string value) { 45 [[maybe_unused]] std::string_view value) {
46 throw NotImplementedException("GLSL Instruction"); 46 throw NotImplementedException("GLSL Instruction");
47} 47}
48 48
49void EmitIAbs32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 49void EmitIAbs32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
50 [[maybe_unused]] std::string value) { 50 [[maybe_unused]] std::string_view value) {
51 throw NotImplementedException("GLSL Instruction"); 51 throw NotImplementedException("GLSL Instruction");
52} 52}
53 53
54void EmitIAbs64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 54void EmitIAbs64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
55 [[maybe_unused]] std::string value) { 55 [[maybe_unused]] std::string_view value) {
56 throw NotImplementedException("GLSL Instruction"); 56 throw NotImplementedException("GLSL Instruction");
57} 57}
58 58
59void EmitShiftLeftLogical32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 59void EmitShiftLeftLogical32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
60 [[maybe_unused]] std::string base, [[maybe_unused]] std::string shift) { 60 [[maybe_unused]] std::string_view base,
61 [[maybe_unused]] std::string_view shift) {
61 throw NotImplementedException("GLSL Instruction"); 62 throw NotImplementedException("GLSL Instruction");
62} 63}
63 64
64void EmitShiftLeftLogical64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 65void EmitShiftLeftLogical64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
65 [[maybe_unused]] std::string base, [[maybe_unused]] std::string shift) { 66 [[maybe_unused]] std::string_view base,
67 [[maybe_unused]] std::string_view shift) {
66 throw NotImplementedException("GLSL Instruction"); 68 throw NotImplementedException("GLSL Instruction");
67} 69}
68 70
69void EmitShiftRightLogical32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 71void EmitShiftRightLogical32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
70 [[maybe_unused]] std::string base, 72 [[maybe_unused]] std::string_view base,
71 [[maybe_unused]] std::string shift) { 73 [[maybe_unused]] std::string_view shift) {
72 throw NotImplementedException("GLSL Instruction"); 74 throw NotImplementedException("GLSL Instruction");
73} 75}
74 76
75void EmitShiftRightLogical64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 77void EmitShiftRightLogical64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
76 [[maybe_unused]] std::string base, 78 [[maybe_unused]] std::string_view base,
77 [[maybe_unused]] std::string shift) { 79 [[maybe_unused]] std::string_view shift) {
78 throw NotImplementedException("GLSL Instruction"); 80 throw NotImplementedException("GLSL Instruction");
79} 81}
80 82
81void EmitShiftRightArithmetic32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 83void EmitShiftRightArithmetic32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
82 [[maybe_unused]] std::string base, 84 [[maybe_unused]] std::string_view base,
83 [[maybe_unused]] std::string shift) { 85 [[maybe_unused]] std::string_view shift) {
84 throw NotImplementedException("GLSL Instruction"); 86 throw NotImplementedException("GLSL Instruction");
85} 87}
86 88
87void EmitShiftRightArithmetic64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 89void EmitShiftRightArithmetic64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
88 [[maybe_unused]] std::string base, 90 [[maybe_unused]] std::string_view base,
89 [[maybe_unused]] std::string shift) { 91 [[maybe_unused]] std::string_view shift) {
90 throw NotImplementedException("GLSL Instruction"); 92 throw NotImplementedException("GLSL Instruction");
91} 93}
92 94
93void EmitBitwiseAnd32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 95void EmitBitwiseAnd32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
94 [[maybe_unused]] std::string a, [[maybe_unused]] std::string b) { 96 [[maybe_unused]] std::string_view a, [[maybe_unused]] std::string_view b) {
95 throw NotImplementedException("GLSL Instruction"); 97 throw NotImplementedException("GLSL Instruction");
96} 98}
97 99
98void EmitBitwiseOr32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 100void EmitBitwiseOr32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
99 [[maybe_unused]] std::string a, [[maybe_unused]] std::string b) { 101 [[maybe_unused]] std::string_view a, [[maybe_unused]] std::string_view b) {
100 throw NotImplementedException("GLSL Instruction"); 102 throw NotImplementedException("GLSL Instruction");
101} 103}
102 104
103void EmitBitwiseXor32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 105void EmitBitwiseXor32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
104 [[maybe_unused]] std::string a, [[maybe_unused]] std::string b) { 106 [[maybe_unused]] std::string_view a, [[maybe_unused]] std::string_view b) {
105 throw NotImplementedException("GLSL Instruction"); 107 throw NotImplementedException("GLSL Instruction");
106} 108}
107 109
108void EmitBitFieldInsert([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 110void EmitBitFieldInsert([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
109 [[maybe_unused]] std::string base, [[maybe_unused]] std::string insert, 111 [[maybe_unused]] std::string_view base,
110 [[maybe_unused]] std::string offset, std::string count) { 112 [[maybe_unused]] std::string_view insert,
113 [[maybe_unused]] std::string_view offset,
114 [[maybe_unused]] std::string_view count) {
111 throw NotImplementedException("GLSL Instruction"); 115 throw NotImplementedException("GLSL Instruction");
112} 116}
113 117
114void EmitBitFieldSExtract([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 118void EmitBitFieldSExtract([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
115 [[maybe_unused]] std::string base, [[maybe_unused]] std::string offset, 119 [[maybe_unused]] std::string_view base,
116 std::string count) { 120 [[maybe_unused]] std::string_view offset,
121 [[maybe_unused]] std::string_view count) {
117 throw NotImplementedException("GLSL Instruction"); 122 throw NotImplementedException("GLSL Instruction");
118} 123}
119 124
120void EmitBitFieldUExtract([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 125void EmitBitFieldUExtract([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
121 [[maybe_unused]] std::string base, [[maybe_unused]] std::string offset, 126 [[maybe_unused]] std::string_view base,
122 std::string count) { 127 [[maybe_unused]] std::string_view offset,
128 [[maybe_unused]] std::string_view count) {
123 throw NotImplementedException("GLSL Instruction"); 129 throw NotImplementedException("GLSL Instruction");
124} 130}
125 131
126void EmitBitReverse32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 132void EmitBitReverse32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
127 [[maybe_unused]] std::string value) { 133 [[maybe_unused]] std::string_view value) {
128 throw NotImplementedException("GLSL Instruction"); 134 throw NotImplementedException("GLSL Instruction");
129} 135}
130 136
131void EmitBitCount32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 137void EmitBitCount32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
132 [[maybe_unused]] std::string value) { 138 [[maybe_unused]] std::string_view value) {
133 throw NotImplementedException("GLSL Instruction"); 139 throw NotImplementedException("GLSL Instruction");
134} 140}
135 141
136void EmitBitwiseNot32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 142void EmitBitwiseNot32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
137 [[maybe_unused]] std::string value) { 143 [[maybe_unused]] std::string_view value) {
138 throw NotImplementedException("GLSL Instruction"); 144 throw NotImplementedException("GLSL Instruction");
139} 145}
140 146
141void EmitFindSMsb32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 147void EmitFindSMsb32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
142 [[maybe_unused]] std::string value) { 148 [[maybe_unused]] std::string_view value) {
143 throw NotImplementedException("GLSL Instruction"); 149 throw NotImplementedException("GLSL Instruction");
144} 150}
145 151
146void EmitFindUMsb32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 152void EmitFindUMsb32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
147 [[maybe_unused]] std::string value) { 153 [[maybe_unused]] std::string_view value) {
148 throw NotImplementedException("GLSL Instruction"); 154 throw NotImplementedException("GLSL Instruction");
149} 155}
150 156
151void EmitSMin32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 157void EmitSMin32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
152 [[maybe_unused]] std::string a, [[maybe_unused]] std::string b) { 158 [[maybe_unused]] std::string_view a, [[maybe_unused]] std::string_view b) {
153 throw NotImplementedException("GLSL Instruction"); 159 throw NotImplementedException("GLSL Instruction");
154} 160}
155 161
156void EmitUMin32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 162void EmitUMin32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
157 [[maybe_unused]] std::string a, [[maybe_unused]] std::string b) { 163 [[maybe_unused]] std::string_view a, [[maybe_unused]] std::string_view b) {
158 throw NotImplementedException("GLSL Instruction"); 164 throw NotImplementedException("GLSL Instruction");
159} 165}
160 166
161void EmitSMax32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 167void EmitSMax32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
162 [[maybe_unused]] std::string a, [[maybe_unused]] std::string b) { 168 [[maybe_unused]] std::string_view a, [[maybe_unused]] std::string_view b) {
163 throw NotImplementedException("GLSL Instruction"); 169 throw NotImplementedException("GLSL Instruction");
164} 170}
165 171
166void EmitUMax32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 172void EmitUMax32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
167 [[maybe_unused]] std::string a, [[maybe_unused]] std::string b) { 173 [[maybe_unused]] std::string_view a, [[maybe_unused]] std::string_view b) {
168 throw NotImplementedException("GLSL Instruction"); 174 throw NotImplementedException("GLSL Instruction");
169} 175}
170 176
171void EmitSClamp32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 177void EmitSClamp32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
172 [[maybe_unused]] std::string value, [[maybe_unused]] std::string min, 178 [[maybe_unused]] std::string_view value, [[maybe_unused]] std::string_view min,
173 std::string max) { 179 [[maybe_unused]] std::string_view max) {
174 throw NotImplementedException("GLSL Instruction"); 180 throw NotImplementedException("GLSL Instruction");
175} 181}
176 182
177void EmitUClamp32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 183void EmitUClamp32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
178 [[maybe_unused]] std::string value, [[maybe_unused]] std::string min, 184 [[maybe_unused]] std::string_view value, [[maybe_unused]] std::string_view min,
179 std::string max) { 185 [[maybe_unused]] std::string_view max) {
180 throw NotImplementedException("GLSL Instruction"); 186 throw NotImplementedException("GLSL Instruction");
181} 187}
182 188
183void EmitSLessThan([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 189void EmitSLessThan([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
184 [[maybe_unused]] std::string lhs, [[maybe_unused]] std::string rhs) { 190 [[maybe_unused]] std::string_view lhs, [[maybe_unused]] std::string_view rhs) {
185 throw NotImplementedException("GLSL Instruction"); 191 throw NotImplementedException("GLSL Instruction");
186} 192}
187 193
188void EmitULessThan([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 194void EmitULessThan([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
189 [[maybe_unused]] std::string lhs, [[maybe_unused]] std::string rhs) { 195 [[maybe_unused]] std::string_view lhs, [[maybe_unused]] std::string_view rhs) {
190 throw NotImplementedException("GLSL Instruction"); 196 throw NotImplementedException("GLSL Instruction");
191} 197}
192 198
193void EmitIEqual([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 199void EmitIEqual([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
194 [[maybe_unused]] std::string lhs, [[maybe_unused]] std::string rhs) { 200 [[maybe_unused]] std::string_view lhs, [[maybe_unused]] std::string_view rhs) {
195 throw NotImplementedException("GLSL Instruction"); 201 throw NotImplementedException("GLSL Instruction");
196} 202}
197 203
198void EmitSLessThanEqual([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 204void EmitSLessThanEqual([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
199 [[maybe_unused]] std::string lhs, [[maybe_unused]] std::string rhs) { 205 [[maybe_unused]] std::string_view lhs,
206 [[maybe_unused]] std::string_view rhs) {
200 throw NotImplementedException("GLSL Instruction"); 207 throw NotImplementedException("GLSL Instruction");
201} 208}
202 209
203void EmitULessThanEqual([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 210void EmitULessThanEqual([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
204 [[maybe_unused]] std::string lhs, [[maybe_unused]] std::string rhs) { 211 [[maybe_unused]] std::string_view lhs,
212 [[maybe_unused]] std::string_view rhs) {
205 throw NotImplementedException("GLSL Instruction"); 213 throw NotImplementedException("GLSL Instruction");
206} 214}
207 215
208void EmitSGreaterThan([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 216void EmitSGreaterThan([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
209 [[maybe_unused]] std::string lhs, [[maybe_unused]] std::string rhs) { 217 [[maybe_unused]] std::string_view lhs,
218 [[maybe_unused]] std::string_view rhs) {
210 throw NotImplementedException("GLSL Instruction"); 219 throw NotImplementedException("GLSL Instruction");
211} 220}
212 221
213void EmitUGreaterThan([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 222void EmitUGreaterThan([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
214 [[maybe_unused]] std::string lhs, [[maybe_unused]] std::string rhs) { 223 [[maybe_unused]] std::string_view lhs,
224 [[maybe_unused]] std::string_view rhs) {
215 throw NotImplementedException("GLSL Instruction"); 225 throw NotImplementedException("GLSL Instruction");
216} 226}
217 227
218void EmitINotEqual([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 228void EmitINotEqual([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
219 [[maybe_unused]] std::string lhs, [[maybe_unused]] std::string rhs) { 229 [[maybe_unused]] std::string_view lhs, [[maybe_unused]] std::string_view rhs) {
220 throw NotImplementedException("GLSL Instruction"); 230 throw NotImplementedException("GLSL Instruction");
221} 231}
222 232
223void EmitSGreaterThanEqual([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 233void EmitSGreaterThanEqual([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
224 [[maybe_unused]] std::string lhs, [[maybe_unused]] std::string rhs) { 234 [[maybe_unused]] std::string_view lhs,
235 [[maybe_unused]] std::string_view rhs) {
225 throw NotImplementedException("GLSL Instruction"); 236 throw NotImplementedException("GLSL Instruction");
226} 237}
227 238
228void EmitUGreaterThanEqual([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 239void EmitUGreaterThanEqual([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
229 [[maybe_unused]] std::string lhs, [[maybe_unused]] std::string rhs) { 240 [[maybe_unused]] std::string_view lhs,
241 [[maybe_unused]] std::string_view rhs) {
230 throw NotImplementedException("GLSL Instruction"); 242 throw NotImplementedException("GLSL Instruction");
231} 243}
232} // namespace Shader::Backend::GLSL 244} // namespace Shader::Backend::GLSL