summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/shader_recompiler/backend/glsl/var_alloc.cpp1
-rw-r--r--src/video_core/shader_environment.cpp2
2 files changed, 1 insertions, 2 deletions
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) {
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);
}