diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-06-29 05:44:03 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:40 +0200 |
commit | 2e5af95541adf581364ee3864be57f9b2b9a230f (patch) | |
tree | 939e3d203ecc1ea98fae168745004c28cdb9b007 /src/shader_recompiler/backend/glsl/emit_context.cpp | |
parent | shader: Account for 33-bit IADD3 scenario (diff) | |
download | yuzu-2e5af95541adf581364ee3864be57f9b2b9a230f.tar yuzu-2e5af95541adf581364ee3864be57f9b2b9a230f.tar.gz yuzu-2e5af95541adf581364ee3864be57f9b2b9a230f.tar.bz2 yuzu-2e5af95541adf581364ee3864be57f9b2b9a230f.tar.lz yuzu-2e5af95541adf581364ee3864be57f9b2b9a230f.tar.xz yuzu-2e5af95541adf581364ee3864be57f9b2b9a230f.tar.zst yuzu-2e5af95541adf581364ee3864be57f9b2b9a230f.zip |
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_context.cpp')
-rw-r--r-- | src/shader_recompiler/backend/glsl/emit_context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_context.cpp b/src/shader_recompiler/backend/glsl/emit_context.cpp index 36527bbd4..0dcdff152 100644 --- a/src/shader_recompiler/backend/glsl/emit_context.cpp +++ b/src/shader_recompiler/backend/glsl/emit_context.cpp @@ -597,7 +597,7 @@ std::string EmitContext::DefineGlobalMemoryFunctions() { func += comparison; const auto ssbo_name{fmt::format("{}_ssbo{}", stage_name, index)}; - func += fmt::format(return_statement, ssbo_name, ssbo_addr); + func += fmt::format(fmt::runtime(return_statement), ssbo_name, ssbo_addr); }}; std::string write_func{"void WriteGlobal32(uint64_t addr,uint data){"}; std::string write_func_64{"void WriteGlobal64(uint64_t addr,uvec2 data){"}; |