diff options
| author | Mai M <mathew1800@gmail.com> | 2021-12-07 18:27:50 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-07 18:27:50 -0500 |
| commit | edbde7a2204cddaa48c2964eb66198639d17db2f (patch) | |
| tree | cfcfa1e39ab647e96c53541fc47c762e42d4f1fe /src/shader_recompiler/backend/glasm/emit_glasm_control_flow.cpp | |
| parent | 00f65af8b2e85eec1535e06c6125ae2751b14085 (diff) | |
| parent | 7105204a7ed0ac45701e57ff157c9e0c679c5ce9 (diff) | |
Merge pull request #7522 from ameerj/shader-recompiler-filenames
shader_recompiler/backend: Minor organization and refactoring to reduce compile time overhead
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.cpp | 18 |
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 |
