diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-03-13 02:59:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-13 02:59:46 +0100 |
commit | 54c359d1e3915653ce07a26e0e574aca5a331cb1 (patch) | |
tree | 75c4fe48af55186a4e420e94a1d7e1bfd92e4ec0 /src/shader_recompiler/backend/glsl/glsl_emit_context.h | |
parent | Merge pull request #9913 from ameerj/acc-dma-refactor (diff) | |
parent | general: fix spelling mistakes (diff) | |
download | yuzu-54c359d1e3915653ce07a26e0e574aca5a331cb1.tar yuzu-54c359d1e3915653ce07a26e0e574aca5a331cb1.tar.gz yuzu-54c359d1e3915653ce07a26e0e574aca5a331cb1.tar.bz2 yuzu-54c359d1e3915653ce07a26e0e574aca5a331cb1.tar.lz yuzu-54c359d1e3915653ce07a26e0e574aca5a331cb1.tar.xz yuzu-54c359d1e3915653ce07a26e0e574aca5a331cb1.tar.zst yuzu-54c359d1e3915653ce07a26e0e574aca5a331cb1.zip |
Diffstat (limited to 'src/shader_recompiler/backend/glsl/glsl_emit_context.h')
-rw-r--r-- | src/shader_recompiler/backend/glsl/glsl_emit_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/glsl/glsl_emit_context.h b/src/shader_recompiler/backend/glsl/glsl_emit_context.h index dfd10ac28..7587f7bab 100644 --- a/src/shader_recompiler/backend/glsl/glsl_emit_context.h +++ b/src/shader_recompiler/backend/glsl/glsl_emit_context.h @@ -49,7 +49,7 @@ public: void Add(const char* format_str, IR::Inst& inst, Args&&... args) { const auto var_def{var_alloc.AddDefine(inst, type)}; if (var_def.empty()) { - // skip assigment. + // skip assignment. code += fmt::format(fmt::runtime(format_str + 3), std::forward<Args>(args)...); } else { code += fmt::format(fmt::runtime(format_str), var_def, std::forward<Args>(args)...); |