diff options
| author | 2021-05-29 02:09:29 -0400 | |
|---|---|---|
| committer | 2021-07-22 21:51:36 -0400 | |
| commit | c9a25855bc208c0bd878f430c8d9fa6e6df44e46 (patch) | |
| tree | 0cd4ea4c65e208a635c933e7317f1fb63011ee42 /src/shader_recompiler/backend/glsl/reg_alloc.cpp | |
| parent | glsl: Implement TEX depth functions (diff) | |
| download | yuzu-c9a25855bc208c0bd878f430c8d9fa6e6df44e46.tar.gz yuzu-c9a25855bc208c0bd878f430c8d9fa6e6df44e46.tar.xz yuzu-c9a25855bc208c0bd878f430c8d9fa6e6df44e46.zip | |
shader_recompiler: GCC fixes
Diffstat (limited to 'src/shader_recompiler/backend/glsl/reg_alloc.cpp')
| -rw-r--r-- | src/shader_recompiler/backend/glsl/reg_alloc.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/glsl/reg_alloc.cpp b/src/shader_recompiler/backend/glsl/reg_alloc.cpp index b287b870a..ecb550095 100644 --- a/src/shader_recompiler/backend/glsl/reg_alloc.cpp +++ b/src/shader_recompiler/backend/glsl/reg_alloc.cpp | |||
| @@ -91,7 +91,6 @@ std::string RegAlloc::Consume(const IR::Value& value) { | |||
| 91 | } | 91 | } |
| 92 | 92 | ||
| 93 | std::string RegAlloc::Consume(IR::Inst& inst) { | 93 | std::string RegAlloc::Consume(IR::Inst& inst) { |
| 94 | const Id id{inst.Definition<Id>()}; | ||
| 95 | inst.DestructiveRemoveUsage(); | 94 | inst.DestructiveRemoveUsage(); |
| 96 | // TODO: reuse variables of same type if possible | 95 | // TODO: reuse variables of same type if possible |
| 97 | // if (!inst.HasUses()) { | 96 | // if (!inst.HasUses()) { |