summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glsl/emit_glsl_select.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_select.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_select.cpp')
-rw-r--r--src/shader_recompiler/backend/glsl/emit_glsl_select.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_select.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_select.cpp
index d3c8d330f..49fba9073 100644
--- a/src/shader_recompiler/backend/glsl/emit_glsl_select.cpp
+++ b/src/shader_recompiler/backend/glsl/emit_glsl_select.cpp
@@ -17,13 +17,13 @@ void EmitSelectU1(EmitContext& ctx, IR::Inst& inst, std::string_view cond,
17void EmitSelectU8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] std::string_view cond, 17void EmitSelectU8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] std::string_view cond,
18 [[maybe_unused]] std::string_view true_value, 18 [[maybe_unused]] std::string_view true_value,
19 [[maybe_unused]] std::string_view false_value) { 19 [[maybe_unused]] std::string_view false_value) {
20 throw NotImplementedException("GLSL Instruction"); 20 NotImplemented();
21} 21}
22 22
23void EmitSelectU16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] std::string_view cond, 23void EmitSelectU16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] std::string_view cond,
24 [[maybe_unused]] std::string_view true_value, 24 [[maybe_unused]] std::string_view true_value,
25 [[maybe_unused]] std::string_view false_value) { 25 [[maybe_unused]] std::string_view false_value) {
26 throw NotImplementedException("GLSL Instruction"); 26 NotImplemented();
27} 27}
28 28
29void EmitSelectU32(EmitContext& ctx, IR::Inst& inst, std::string_view cond, 29void EmitSelectU32(EmitContext& ctx, IR::Inst& inst, std::string_view cond,
@@ -39,7 +39,7 @@ void EmitSelectU64(EmitContext& ctx, IR::Inst& inst, std::string_view cond,
39void EmitSelectF16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] std::string_view cond, 39void EmitSelectF16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] std::string_view cond,
40 [[maybe_unused]] std::string_view true_value, 40 [[maybe_unused]] std::string_view true_value,
41 [[maybe_unused]] std::string_view false_value) { 41 [[maybe_unused]] std::string_view false_value) {
42 throw NotImplementedException("GLSL Instruction"); 42 NotImplemented();
43} 43}
44 44
45void EmitSelectF32(EmitContext& ctx, IR::Inst& inst, std::string_view cond, 45void EmitSelectF32(EmitContext& ctx, IR::Inst& inst, std::string_view cond,