summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-05-18 00:25:01 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:31 +0200
commitafcb14018542825e23f392698b93fb4a9a4b4a8b (patch)
treefbd5e168983e81b5dbc7383d21e9d4d1122ad5be /src/shader_recompiler/backend
parentglasm: Fix aliased bitcasts ref counting (diff)
downloadyuzu-afcb14018542825e23f392698b93fb4a9a4b4a8b.tar
yuzu-afcb14018542825e23f392698b93fb4a9a4b4a8b.tar.gz
yuzu-afcb14018542825e23f392698b93fb4a9a4b4a8b.tar.bz2
yuzu-afcb14018542825e23f392698b93fb4a9a4b4a8b.tar.lz
yuzu-afcb14018542825e23f392698b93fb4a9a4b4a8b.tar.xz
yuzu-afcb14018542825e23f392698b93fb4a9a4b4a8b.tar.zst
yuzu-afcb14018542825e23f392698b93fb4a9a4b4a8b.zip
Diffstat (limited to 'src/shader_recompiler/backend')
-rw-r--r--src/shader_recompiler/backend/glasm/emit_glasm_image.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_image.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_image.cpp
index 3d76ab315..77da3400b 100644
--- a/src/shader_recompiler/backend/glasm/emit_glasm_image.cpp
+++ b/src/shader_recompiler/backend/glasm/emit_glasm_image.cpp
@@ -25,6 +25,7 @@ struct ScopedRegister {
}
reg_alloc = std::exchange(rhs.reg_alloc, nullptr);
reg = rhs.reg;
+ return *this;
}
ScopedRegister(ScopedRegister&& rhs) noexcept