diff options
Diffstat (limited to 'src/shader_recompiler/backend/glasm/emit_glasm_select.cpp')
| -rw-r--r-- | src/shader_recompiler/backend/glasm/emit_glasm_select.cpp | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_select.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_select.cpp index 16f6c33f3..e69de29bb 100644 --- a/src/shader_recompiler/backend/glasm/emit_glasm_select.cpp +++ b/src/shader_recompiler/backend/glasm/emit_glasm_select.cpp | |||
| @@ -1,46 +0,0 @@ | |||
| 1 | // Copyright 2021 yuzu Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #include <string_view> | ||
| 6 | |||
| 7 | #include "shader_recompiler/backend/glasm/emit_context.h" | ||
| 8 | #include "shader_recompiler/backend/glasm/emit_glasm_instructions.h" | ||
| 9 | #include "shader_recompiler/frontend/ir/value.h" | ||
| 10 | |||
| 11 | namespace Shader::Backend::GLASM { | ||
| 12 | |||
| 13 | void EmitSelectU1(EmitContext&, std::string_view, std::string_view, std::string_view) { | ||
| 14 | throw NotImplementedException("GLASM instruction"); | ||
| 15 | } | ||
| 16 | |||
| 17 | void EmitSelectU8(EmitContext&, std::string_view, std::string_view, std::string_view) { | ||
| 18 | throw NotImplementedException("GLASM instruction"); | ||
| 19 | } | ||
| 20 | |||
| 21 | void EmitSelectU16(EmitContext&, std::string_view, std::string_view, std::string_view) { | ||
| 22 | throw NotImplementedException("GLASM instruction"); | ||
| 23 | } | ||
| 24 | |||
| 25 | void EmitSelectU32(EmitContext& ctx, IR::Inst& inst, std::string_view cond, | ||
| 26 | std::string_view true_value, std::string_view false_value) { | ||
| 27 | ctx.Add("CMP.S {},{},{},{};", inst, cond, true_value, false_value); | ||
| 28 | } | ||
| 29 | |||
| 30 | void EmitSelectU64(EmitContext&, std::string_view, std::string_view, std::string_view) { | ||
| 31 | throw NotImplementedException("GLASM instruction"); | ||
| 32 | } | ||
| 33 | |||
| 34 | void EmitSelectF16(EmitContext&, std::string_view, std::string_view, std::string_view) { | ||
| 35 | throw NotImplementedException("GLASM instruction"); | ||
| 36 | } | ||
| 37 | |||
| 38 | void EmitSelectF32(EmitContext& ctx, IR::Inst& inst, std::string_view cond, | ||
| 39 | std::string_view true_value, std::string_view false_value) { | ||
| 40 | ctx.Add("CMP.S {},{},{},{};", inst, cond, true_value, false_value); | ||
| 41 | } | ||
| 42 | |||
| 43 | void EmitSelectF64(EmitContext&, std::string_view, std::string_view, std::string_view) { | ||
| 44 | throw NotImplementedException("GLASM instruction"); | ||
| 45 | } | ||
| 46 | } // namespace Shader::Backend::GLASM | ||