summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glsl/reg_alloc.cpp
diff options
context:
space:
mode:
authorGravatar lat9nq2021-05-29 02:09:29 -0400
committerGravatar ameerj2021-07-22 21:51:36 -0400
commitc9a25855bc208c0bd878f430c8d9fa6e6df44e46 (patch)
tree0cd4ea4c65e208a635c933e7317f1fb63011ee42 /src/shader_recompiler/backend/glsl/reg_alloc.cpp
parentglsl: Implement TEX depth functions (diff)
downloadyuzu-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.cpp1
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
93std::string RegAlloc::Consume(IR::Inst& inst) { 93std::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()) {