aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glasm/emit_glasm_select.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-05-09 03:11:34 -0300
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-22 21:51:30 -0400
commit1c9307969c4e3f6206947f1360acae33f95a4a86 (patch)
tree86ccd9c88333327d7659a396f66301955a088f45 /src/shader_recompiler/backend/glasm/emit_glasm_select.cpp
parent934d3002462e27bcc289c1edb4959896cb23beb0 (diff)
glasm: Make GLASM aware of types
Diffstat (limited to 'src/shader_recompiler/backend/glasm/emit_glasm_select.cpp')
-rw-r--r--src/shader_recompiler/backend/glasm/emit_glasm_select.cpp46
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 16f6c33f37..e69de29bb2 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 @@
-// Copyright 2021 yuzu Emulator Project
-// Licensed under GPLv2 or any later version
-// Refer to the license.txt file included.
-
-#include <string_view>
-
-#include "shader_recompiler/backend/glasm/emit_context.h"
-#include "shader_recompiler/backend/glasm/emit_glasm_instructions.h"
-#include "shader_recompiler/frontend/ir/value.h"
-
-namespace Shader::Backend::GLASM {
-
-void EmitSelectU1(EmitContext&, std::string_view, std::string_view, std::string_view) {
- throw NotImplementedException("GLASM instruction");
-}
-
-void EmitSelectU8(EmitContext&, std::string_view, std::string_view, std::string_view) {
- throw NotImplementedException("GLASM instruction");
-}
-
-void EmitSelectU16(EmitContext&, std::string_view, std::string_view, std::string_view) {
- throw NotImplementedException("GLASM instruction");
-}
-
-void EmitSelectU32(EmitContext& ctx, IR::Inst& inst, std::string_view cond,
- std::string_view true_value, std::string_view false_value) {
- ctx.Add("CMP.S {},{},{},{};", inst, cond, true_value, false_value);
-}
-
-void EmitSelectU64(EmitContext&, std::string_view, std::string_view, std::string_view) {
- throw NotImplementedException("GLASM instruction");
-}
-
-void EmitSelectF16(EmitContext&, std::string_view, std::string_view, std::string_view) {
- throw NotImplementedException("GLASM instruction");
-}
-
-void EmitSelectF32(EmitContext& ctx, IR::Inst& inst, std::string_view cond,
- std::string_view true_value, std::string_view false_value) {
- ctx.Add("CMP.S {},{},{},{};", inst, cond, true_value, false_value);
-}
-
-void EmitSelectF64(EmitContext&, std::string_view, std::string_view, std::string_view) {
- throw NotImplementedException("GLASM instruction");
-}
-} // namespace Shader::Backend::GLASM