diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-05-18 00:25:01 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:31 +0200 |
commit | afcb14018542825e23f392698b93fb4a9a4b4a8b (patch) | |
tree | fbd5e168983e81b5dbc7383d21e9d4d1122ad5be /src | |
parent | glasm: Fix aliased bitcasts ref counting (diff) | |
download | yuzu-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 '')
-rw-r--r-- | src/shader_recompiler/backend/glasm/emit_glasm_image.cpp | 1 |
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 |