diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-05-09 08:11:34 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:30 +0200 |
commit | 1c9307969c4e3f6206947f1360acae33f95a4a86 (patch) | |
tree | 86ccd9c88333327d7659a396f66301955a088f45 /src/shader_recompiler/backend/glasm/emit_context.h | |
parent | glasm: Use CMP.S for Select32 (diff) | |
download | yuzu-1c9307969c4e3f6206947f1360acae33f95a4a86.tar yuzu-1c9307969c4e3f6206947f1360acae33f95a4a86.tar.gz yuzu-1c9307969c4e3f6206947f1360acae33f95a4a86.tar.bz2 yuzu-1c9307969c4e3f6206947f1360acae33f95a4a86.tar.lz yuzu-1c9307969c4e3f6206947f1360acae33f95a4a86.tar.xz yuzu-1c9307969c4e3f6206947f1360acae33f95a4a86.tar.zst yuzu-1c9307969c4e3f6206947f1360acae33f95a4a86.zip |
Diffstat (limited to 'src/shader_recompiler/backend/glasm/emit_context.h')
-rw-r--r-- | src/shader_recompiler/backend/glasm/emit_context.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_context.h b/src/shader_recompiler/backend/glasm/emit_context.h index 4f98a9816..a59acbf6c 100644 --- a/src/shader_recompiler/backend/glasm/emit_context.h +++ b/src/shader_recompiler/backend/glasm/emit_context.h @@ -23,15 +23,15 @@ public: explicit EmitContext(IR::Program& program); template <typename... Args> - void Add(const char* fmt, IR::Inst& inst, Args&&... args) { - code += fmt::format(fmt, reg_alloc.Define(inst), std::forward<Args>(args)...); + void Add(const char* format_str, IR::Inst& inst, Args&&... args) { + code += fmt::format(format_str, reg_alloc.Define(inst), std::forward<Args>(args)...); // TODO: Remove this code += '\n'; } template <typename... Args> - void Add(const char* fmt, Args&&... args) { - code += fmt::format(fmt, std::forward<Args>(args)...); + void Add(const char* format_str, Args&&... args) { + code += fmt::format(format_str, std::forward<Args>(args)...); // TODO: Remove this code += '\n'; } |