diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-05-29 02:09:29 -0400 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-22 21:51:36 -0400 |
commit | c9a25855bc208c0bd878f430c8d9fa6e6df44e46 (patch) | |
tree | 0cd4ea4c65e208a635c933e7317f1fb63011ee42 /src/shader_recompiler/backend/glsl/reg_alloc.cpp | |
parent | 7619b7d427437cb58df0f9fc57a7d6b3f5c45f9c (diff) |
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 b287b870a2..ecb550095d 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) { } std::string RegAlloc::Consume(IR::Inst& inst) { - const Id id{inst.Definition<Id>()}; inst.DestructiveRemoveUsage(); // TODO: reuse variables of same type if possible // if (!inst.HasUses()) { |