From 524674aafc0935fa48a61cac68ad6e25cc20c07f Mon Sep 17 00:00:00 2001
From: Narr the Reg <juangerman-13@hotmail.com>
Date: Tue, 4 Jan 2022 20:22:37 -0600
Subject: [PATCH 1/2] glsl: Remove unreachable return

---
 src/shader_recompiler/backend/glsl/var_alloc.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/shader_recompiler/backend/glsl/var_alloc.cpp b/src/shader_recompiler/backend/glsl/var_alloc.cpp
index 194f926ca..be0a695c0 100644
--- a/src/shader_recompiler/backend/glsl/var_alloc.cpp
+++ b/src/shader_recompiler/backend/glsl/var_alloc.cpp
@@ -131,7 +131,6 @@ std::string VarAlloc::AddDefine(IR::Inst& inst, GlslVarType type) {
     } else {
         return "";
     }
-    return Representation(inst.Definition<Id>());
 }
 
 std::string VarAlloc::Consume(const IR::Value& value) {

From 41bbb31af426d5d85fe069ff65f0079ed04d24c8 Mon Sep 17 00:00:00 2001
From: Narr the Reg <juangerman-13@hotmail.com>
Date: Tue, 4 Jan 2022 21:25:47 -0600
Subject: [PATCH 2/2] video_core: Remove unnecesary maybe_unused flag

---
 src/video_core/shader_environment.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/video_core/shader_environment.cpp b/src/video_core/shader_environment.cpp
index 7d3ae0de4..3e673c437 100644
--- a/src/video_core/shader_environment.cpp
+++ b/src/video_core/shader_environment.cpp
@@ -381,7 +381,7 @@ void FileEnvironment::Deserialize(std::ifstream& file) {
     }
 }
 
-void FileEnvironment::Dump(u64 [[maybe_unused]] hash) {
+void FileEnvironment::Dump(u64 hash) {
     DumpImpl(hash, code.get(), read_highest, read_lowest, initial_offset, stage);
 }