diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-05-09 01:21:32 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:30 +0200 |
commit | 934d3002462e27bcc289c1edb4959896cb23beb0 (patch) | |
tree | c28a4192fc0968f2197e9cfdbca6f4864679c56d /src/shader_recompiler/backend/glasm/emit_glasm_integer.cpp | |
parent | glasm: Implement more logical ops (diff) | |
download | yuzu-934d3002462e27bcc289c1edb4959896cb23beb0.tar yuzu-934d3002462e27bcc289c1edb4959896cb23beb0.tar.gz yuzu-934d3002462e27bcc289c1edb4959896cb23beb0.tar.bz2 yuzu-934d3002462e27bcc289c1edb4959896cb23beb0.tar.lz yuzu-934d3002462e27bcc289c1edb4959896cb23beb0.tar.xz yuzu-934d3002462e27bcc289c1edb4959896cb23beb0.tar.zst yuzu-934d3002462e27bcc289c1edb4959896cb23beb0.zip |
Diffstat (limited to 'src/shader_recompiler/backend/glasm/emit_glasm_integer.cpp')
-rw-r--r-- | src/shader_recompiler/backend/glasm/emit_glasm_integer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_integer.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_integer.cpp index 1289d950f..579806c38 100644 --- a/src/shader_recompiler/backend/glasm/emit_glasm_integer.cpp +++ b/src/shader_recompiler/backend/glasm/emit_glasm_integer.cpp @@ -12,7 +12,7 @@ namespace Shader::Backend::GLASM { void EmitIAdd32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, [[maybe_unused]] std::string_view a, [[maybe_unused]] std::string_view b) { - ctx.Add("ADD {},{},{};", inst, a, b); + ctx.Add("ADD.U {},{},{};", inst, a, b); } void EmitIAdd64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, @@ -22,7 +22,7 @@ void EmitIAdd64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& in void EmitISub32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, [[maybe_unused]] std::string_view a, [[maybe_unused]] std::string_view b) { - ctx.Add("SUB {},{},{};", inst, a, b); + ctx.Add("SUB.U {},{},{};", inst, a, b); } void EmitISub64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |