diff options
author | Viktor Szépe <viktor@szepe.net> | 2024-01-16 00:26:53 +0100 |
---|---|---|
committer | Viktor Szépe <viktor@szepe.net> | 2024-01-16 00:26:53 +0100 |
commit | 2044ae6b3af6fab4d79996a661fef43f6db8d825 (patch) | |
tree | 49f827eb5f5cc0eca379bce989cbe9450e4831c9 /src/shader_recompiler | |
parent | Fix typos in src/core (#12625) (diff) | |
download | yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar.gz yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar.bz2 yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar.lz yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar.xz yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar.zst yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.zip |
Diffstat (limited to 'src/shader_recompiler')
-rw-r--r-- | src/shader_recompiler/backend/glsl/glsl_emit_context.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/backend/glsl/glsl_emit_context.cpp b/src/shader_recompiler/backend/glsl/glsl_emit_context.cpp index b2ceeefc4..c5ac7b8f2 100644 --- a/src/shader_recompiler/backend/glsl/glsl_emit_context.cpp +++ b/src/shader_recompiler/backend/glsl/glsl_emit_context.cpp @@ -608,8 +608,8 @@ std::string EmitContext::DefineGlobalMemoryFunctions() { const auto aligned_low_addr{fmt::format("{}&{}", addr_xy[0], ssbo_align_mask)}; const auto aligned_addr{fmt::format("uvec2({},{})", aligned_low_addr, addr_xy[1])}; const auto addr_pack{fmt::format("packUint2x32({})", aligned_addr)}; - const auto addr_statment{fmt::format("uint64_t {}={};", ssbo_addr, addr_pack)}; - func += addr_statment; + const auto addr_statement{fmt::format("uint64_t {}={};", ssbo_addr, addr_pack)}; + func += addr_statement; const auto size_vec{fmt::format("uvec2({},{})", size_xy[0], size_xy[1])}; const auto comp_lhs{fmt::format("(addr>={})", ssbo_addr)}; |