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/spirv | |
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 '')
-rw-r--r-- | src/shader_recompiler/backend/spirv/emit_context.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_context.cpp b/src/shader_recompiler/backend/spirv/emit_context.cpp index 0926dcf14..865f34291 100644 --- a/src/shader_recompiler/backend/spirv/emit_context.cpp +++ b/src/shader_recompiler/backend/spirv/emit_context.cpp @@ -244,8 +244,9 @@ std::string_view StageName(Stage stage) { template <typename... Args> void Name(EmitContext& ctx, Id object, std::string_view format_str, Args&&... args) { - ctx.Name(object, - fmt::format(format_str, StageName(ctx.stage), std::forward<Args>(args)...).c_str()); + ctx.Name(object, fmt::format(fmt::runtime(format_str), StageName(ctx.stage), + std::forward<Args>(args)...) + .c_str()); } void DefineConstBuffers(EmitContext& ctx, const Info& info, Id UniformDefinitions::*member_type, |