diff options
| author | 2021-05-31 12:53:40 -0400 | |
|---|---|---|
| committer | 2021-07-22 21:51:37 -0400 | |
| commit | df53046d68b26b23ced683396ebc204d96176c8e (patch) | |
| tree | 09a858f1d743ab9079484b30eddff00a23152b59 /src/shader_recompiler/backend/glsl/emit_glsl_select.cpp | |
| parent | glsl: Implement gl_ViewportIndex (diff) | |
| download | yuzu-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.cpp | 6 |
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, | |||
| 17 | void EmitSelectU8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] std::string_view cond, | 17 | void 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 | ||
| 23 | void EmitSelectU16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] std::string_view cond, | 23 | void 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 | ||
| 29 | void EmitSelectU32(EmitContext& ctx, IR::Inst& inst, std::string_view cond, | 29 | void 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, | |||
| 39 | void EmitSelectF16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] std::string_view cond, | 39 | void 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 | ||
| 45 | void EmitSelectF32(EmitContext& ctx, IR::Inst& inst, std::string_view cond, | 45 | void EmitSelectF32(EmitContext& ctx, IR::Inst& inst, std::string_view cond, |