summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/glasm/emit_glasm_memory.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-05-17 07:52:01 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:31 +0200
commitec6fc5fe78c9038fc9ad7259b7b3a7be751ecef6 (patch)
tree063963b0a197526467902ef9bfceff1be8f5b9ef /src/shader_recompiler/backend/glasm/emit_glasm_memory.cpp
parentglasm: Add support for non-2D texture samples (diff)
downloadyuzu-ec6fc5fe78c9038fc9ad7259b7b3a7be751ecef6.tar
yuzu-ec6fc5fe78c9038fc9ad7259b7b3a7be751ecef6.tar.gz
yuzu-ec6fc5fe78c9038fc9ad7259b7b3a7be751ecef6.tar.bz2
yuzu-ec6fc5fe78c9038fc9ad7259b7b3a7be751ecef6.tar.lz
yuzu-ec6fc5fe78c9038fc9ad7259b7b3a7be751ecef6.tar.xz
yuzu-ec6fc5fe78c9038fc9ad7259b7b3a7be751ecef6.tar.zst
yuzu-ec6fc5fe78c9038fc9ad7259b7b3a7be751ecef6.zip
Diffstat (limited to 'src/shader_recompiler/backend/glasm/emit_glasm_memory.cpp')
-rw-r--r--src/shader_recompiler/backend/glasm/emit_glasm_memory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_memory.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_memory.cpp
index 0c6a6e1c8..dd307a9a3 100644
--- a/src/shader_recompiler/backend/glasm/emit_glasm_memory.cpp
+++ b/src/shader_recompiler/backend/glasm/emit_glasm_memory.cpp
@@ -38,7 +38,7 @@ void Store(EmitContext& ctx, const IR::Value& binding, ScalarU32 offset, ValueTy
void Load(EmitContext& ctx, IR::Inst& inst, const IR::Value& binding, ScalarU32 offset,
std::string_view size) {
const Register ret{ctx.reg_alloc.Define(inst)};
- StorageOp(ctx, binding, offset, fmt::format("STORE.{} {},DC.x;", size, ret),
+ StorageOp(ctx, binding, offset, fmt::format("LOAD.{} {},DC.x;", size, ret),
fmt::format("MOV.U {},{{0,0,0,0}};", ret));
}
} // Anonymous namespace