summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/glasm/emit_glasm_control_flow.cpp
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-12-05 22:58:18 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-12-06 00:11:19 +0100
commit1e1f7b32341f6538fce07d0df415a4d494a2b209 (patch)
tree4c19b5ce70e2bf75527b08966e6b2ebc8aa0b48c /src/shader_recompiler/backend/glasm/emit_glasm_control_flow.cpp
parentshader_recompiler: Adjust emit_context includes (diff)
downloadyuzu-1e1f7b32341f6538fce07d0df415a4d494a2b209.tar
yuzu-1e1f7b32341f6538fce07d0df415a4d494a2b209.tar.gz
yuzu-1e1f7b32341f6538fce07d0df415a4d494a2b209.tar.bz2
yuzu-1e1f7b32341f6538fce07d0df415a4d494a2b209.tar.lz
yuzu-1e1f7b32341f6538fce07d0df415a4d494a2b209.tar.xz
yuzu-1e1f7b32341f6538fce07d0df415a4d494a2b209.tar.zst
yuzu-1e1f7b32341f6538fce07d0df415a4d494a2b209.zip
Diffstat (limited to 'src/shader_recompiler/backend/glasm/emit_glasm_control_flow.cpp')
-rw-r--r--src/shader_recompiler/backend/glasm/emit_glasm_control_flow.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_control_flow.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_control_flow.cpp
index e69de29bb..8a14fc8d9 100644
--- a/src/shader_recompiler/backend/glasm/emit_glasm_control_flow.cpp
+++ b/src/shader_recompiler/backend/glasm/emit_glasm_control_flow.cpp
@@ -0,0 +1,18 @@
+// Copyright 2021 yuzu Emulator Project
+// Licensed under GPLv2 or any later version
+// Refer to the license.txt file included.
+
+#include "shader_recompiler/backend/glasm/emit_glasm_instructions.h"
+#include "shader_recompiler/backend/glasm/glasm_emit_context.h"
+
+namespace Shader::Backend::GLASM {
+
+void EmitJoin(EmitContext&) {
+ throw NotImplementedException("Join shouldn't be emitted");
+}
+
+void EmitDemoteToHelperInvocation(EmitContext& ctx) {
+ ctx.Add("KIL TR.x;");
+}
+
+} // namespace Shader::Backend::GLASM