summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glsl/emit_glsl_convert.cpp
diff options
context:
space:
mode:
authorGravatar ameerj2021-05-31 12:53:40 -0400
committerGravatar ameerj2021-07-22 21:51:37 -0400
commitdf53046d68b26b23ced683396ebc204d96176c8e (patch)
tree09a858f1d743ab9079484b30eddff00a23152b59 /src/shader_recompiler/backend/glsl/emit_glsl_convert.cpp
parentglsl: Implement gl_ViewportIndex (diff)
downloadyuzu-df53046d68b26b23ced683396ebc204d96176c8e.tar.gz
yuzu-df53046d68b26b23ced683396ebc204d96176c8e.tar.xz
yuzu-df53046d68b26b23ced683396ebc204d96176c8e.zip
glsl: Use NotImplemented macro with function name output
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_glsl_convert.cpp')
-rw-r--r--src/shader_recompiler/backend/glsl/emit_glsl_convert.cpp52
1 files changed, 26 insertions, 26 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_convert.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_convert.cpp
index 85d07b4de..9ed5bb319 100644
--- a/src/shader_recompiler/backend/glsl/emit_glsl_convert.cpp
+++ b/src/shader_recompiler/backend/glsl/emit_glsl_convert.cpp
@@ -11,7 +11,7 @@
11namespace Shader::Backend::GLSL { 11namespace Shader::Backend::GLSL {
12void EmitConvertS16F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 12void EmitConvertS16F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
13 [[maybe_unused]] std::string_view value) { 13 [[maybe_unused]] std::string_view value) {
14 throw NotImplementedException("GLSL Instruction"); 14 NotImplemented();
15} 15}
16 16
17void EmitConvertS16F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 17void EmitConvertS16F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
@@ -21,12 +21,12 @@ void EmitConvertS16F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::I
21 21
22void EmitConvertS16F64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 22void EmitConvertS16F64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
23 [[maybe_unused]] std::string_view value) { 23 [[maybe_unused]] std::string_view value) {
24 throw NotImplementedException("GLSL Instruction"); 24 NotImplemented();
25} 25}
26 26
27void EmitConvertS32F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 27void EmitConvertS32F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
28 [[maybe_unused]] std::string_view value) { 28 [[maybe_unused]] std::string_view value) {
29 throw NotImplementedException("GLSL Instruction"); 29 NotImplemented();
30} 30}
31 31
32void EmitConvertS32F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 32void EmitConvertS32F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
@@ -41,7 +41,7 @@ void EmitConvertS32F64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::I
41 41
42void EmitConvertS64F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 42void EmitConvertS64F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
43 [[maybe_unused]] std::string_view value) { 43 [[maybe_unused]] std::string_view value) {
44 throw NotImplementedException("GLSL Instruction"); 44 NotImplemented();
45} 45}
46 46
47void EmitConvertS64F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 47void EmitConvertS64F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
@@ -56,22 +56,22 @@ void EmitConvertS64F64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::I
56 56
57void EmitConvertU16F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 57void EmitConvertU16F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
58 [[maybe_unused]] std::string_view value) { 58 [[maybe_unused]] std::string_view value) {
59 throw NotImplementedException("GLSL Instruction"); 59 NotImplemented();
60} 60}
61 61
62void EmitConvertU16F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 62void EmitConvertU16F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
63 [[maybe_unused]] std::string_view value) { 63 [[maybe_unused]] std::string_view value) {
64 throw NotImplementedException("GLSL Instruction"); 64 NotImplemented();
65} 65}
66 66
67void EmitConvertU16F64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 67void EmitConvertU16F64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
68 [[maybe_unused]] std::string_view value) { 68 [[maybe_unused]] std::string_view value) {
69 throw NotImplementedException("GLSL Instruction"); 69 NotImplemented();
70} 70}
71 71
72void EmitConvertU32F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 72void EmitConvertU32F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
73 [[maybe_unused]] std::string_view value) { 73 [[maybe_unused]] std::string_view value) {
74 throw NotImplementedException("GLSL Instruction"); 74 NotImplemented();
75} 75}
76 76
77void EmitConvertU32F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 77void EmitConvertU32F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
@@ -86,7 +86,7 @@ void EmitConvertU32F64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::I
86 86
87void EmitConvertU64F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 87void EmitConvertU64F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
88 [[maybe_unused]] std::string_view value) { 88 [[maybe_unused]] std::string_view value) {
89 throw NotImplementedException("GLSL Instruction"); 89 NotImplemented();
90} 90}
91 91
92void EmitConvertU64F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 92void EmitConvertU64F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
@@ -111,12 +111,12 @@ void EmitConvertU32U64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::I
111 111
112void EmitConvertF16F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 112void EmitConvertF16F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
113 [[maybe_unused]] std::string_view value) { 113 [[maybe_unused]] std::string_view value) {
114 throw NotImplementedException("GLSL Instruction"); 114 NotImplemented();
115} 115}
116 116
117void EmitConvertF32F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 117void EmitConvertF32F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
118 [[maybe_unused]] std::string_view value) { 118 [[maybe_unused]] std::string_view value) {
119 throw NotImplementedException("GLSL Instruction"); 119 NotImplemented();
120} 120}
121 121
122void EmitConvertF32F64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 122void EmitConvertF32F64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
@@ -131,52 +131,52 @@ void EmitConvertF64F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::I
131 131
132void EmitConvertF16S8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 132void EmitConvertF16S8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
133 [[maybe_unused]] std::string_view value) { 133 [[maybe_unused]] std::string_view value) {
134 throw NotImplementedException("GLSL Instruction"); 134 NotImplemented();
135} 135}
136 136
137void EmitConvertF16S16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 137void EmitConvertF16S16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
138 [[maybe_unused]] std::string_view value) { 138 [[maybe_unused]] std::string_view value) {
139 throw NotImplementedException("GLSL Instruction"); 139 NotImplemented();
140} 140}
141 141
142void EmitConvertF16S32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 142void EmitConvertF16S32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
143 [[maybe_unused]] std::string_view value) { 143 [[maybe_unused]] std::string_view value) {
144 throw NotImplementedException("GLSL Instruction"); 144 NotImplemented();
145} 145}
146 146
147void EmitConvertF16S64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 147void EmitConvertF16S64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
148 [[maybe_unused]] std::string_view value) { 148 [[maybe_unused]] std::string_view value) {
149 throw NotImplementedException("GLSL Instruction"); 149 NotImplemented();
150} 150}
151 151
152void EmitConvertF16U8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 152void EmitConvertF16U8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
153 [[maybe_unused]] std::string_view value) { 153 [[maybe_unused]] std::string_view value) {
154 throw NotImplementedException("GLSL Instruction"); 154 NotImplemented();
155} 155}
156 156
157void EmitConvertF16U16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 157void EmitConvertF16U16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
158 [[maybe_unused]] std::string_view value) { 158 [[maybe_unused]] std::string_view value) {
159 throw NotImplementedException("GLSL Instruction"); 159 NotImplemented();
160} 160}
161 161
162void EmitConvertF16U32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 162void EmitConvertF16U32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
163 [[maybe_unused]] std::string_view value) { 163 [[maybe_unused]] std::string_view value) {
164 throw NotImplementedException("GLSL Instruction"); 164 NotImplemented();
165} 165}
166 166
167void EmitConvertF16U64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 167void EmitConvertF16U64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
168 [[maybe_unused]] std::string_view value) { 168 [[maybe_unused]] std::string_view value) {
169 throw NotImplementedException("GLSL Instruction"); 169 NotImplemented();
170} 170}
171 171
172void EmitConvertF32S8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 172void EmitConvertF32S8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
173 [[maybe_unused]] std::string_view value) { 173 [[maybe_unused]] std::string_view value) {
174 throw NotImplementedException("GLSL Instruction"); 174 NotImplemented();
175} 175}
176 176
177void EmitConvertF32S16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 177void EmitConvertF32S16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
178 [[maybe_unused]] std::string_view value) { 178 [[maybe_unused]] std::string_view value) {
179 throw NotImplementedException("GLSL Instruction"); 179 NotImplemented();
180} 180}
181 181
182void EmitConvertF32S32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 182void EmitConvertF32S32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
@@ -191,7 +191,7 @@ void EmitConvertF32S64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::I
191 191
192void EmitConvertF32U8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 192void EmitConvertF32U8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
193 [[maybe_unused]] std::string_view value) { 193 [[maybe_unused]] std::string_view value) {
194 throw NotImplementedException("GLSL Instruction"); 194 NotImplemented();
195} 195}
196 196
197void EmitConvertF32U16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 197void EmitConvertF32U16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
@@ -211,12 +211,12 @@ void EmitConvertF32U64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::I
211 211
212void EmitConvertF64S8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 212void EmitConvertF64S8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
213 [[maybe_unused]] std::string_view value) { 213 [[maybe_unused]] std::string_view value) {
214 throw NotImplementedException("GLSL Instruction"); 214 NotImplemented();
215} 215}
216 216
217void EmitConvertF64S16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 217void EmitConvertF64S16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
218 [[maybe_unused]] std::string_view value) { 218 [[maybe_unused]] std::string_view value) {
219 throw NotImplementedException("GLSL Instruction"); 219 NotImplemented();
220} 220}
221 221
222void EmitConvertF64S32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 222void EmitConvertF64S32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
@@ -231,12 +231,12 @@ void EmitConvertF64S64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::I
231 231
232void EmitConvertF64U8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 232void EmitConvertF64U8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
233 [[maybe_unused]] std::string_view value) { 233 [[maybe_unused]] std::string_view value) {
234 throw NotImplementedException("GLSL Instruction"); 234 NotImplemented();
235} 235}
236 236
237void EmitConvertF64U16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 237void EmitConvertF64U16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
238 [[maybe_unused]] std::string_view value) { 238 [[maybe_unused]] std::string_view value) {
239 throw NotImplementedException("GLSL Instruction"); 239 NotImplemented();
240} 240}
241 241
242void EmitConvertF64U32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, 242void EmitConvertF64U32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,