diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-06-11 06:33:33 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:38 +0200 |
commit | 4759db28d0b98c79f9a630b63ba13c4cd0df9109 (patch) | |
tree | 3cc20c600bf0733f464e3c844688b1cef766e191 /src/shader_recompiler/backend/glsl/var_alloc.cpp | |
parent | glsl: Reorganize backend code, remove unneeded [[maybe_unused]] (diff) | |
download | yuzu-4759db28d0b98c79f9a630b63ba13c4cd0df9109.tar yuzu-4759db28d0b98c79f9a630b63ba13c4cd0df9109.tar.gz yuzu-4759db28d0b98c79f9a630b63ba13c4cd0df9109.tar.bz2 yuzu-4759db28d0b98c79f9a630b63ba13c4cd0df9109.tar.lz yuzu-4759db28d0b98c79f9a630b63ba13c4cd0df9109.tar.xz yuzu-4759db28d0b98c79f9a630b63ba13c4cd0df9109.tar.zst yuzu-4759db28d0b98c79f9a630b63ba13c4cd0df9109.zip |
Diffstat (limited to '')
-rw-r--r-- | src/shader_recompiler/backend/glsl/var_alloc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/glsl/var_alloc.cpp b/src/shader_recompiler/backend/glsl/var_alloc.cpp index 95e8233e2..6a19aa549 100644 --- a/src/shader_recompiler/backend/glsl/var_alloc.cpp +++ b/src/shader_recompiler/backend/glsl/var_alloc.cpp @@ -116,7 +116,7 @@ std::string VarAlloc::Define(IR::Inst& inst, GlslVarType type) { id.type.Assign(type); GetUseTracker(type).uses_temp = true; inst.SetDefinition<Id>(id); - return "t" + Representation(inst.Definition<Id>()); + return 't' + Representation(inst.Definition<Id>()); } } |