diff --git a/src/shader_recompiler/backend/glsl/var_alloc.cpp b/src/shader_recompiler/backend/glsl/var_alloc.cpp index 194f926cad..be0a695c00 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()); } 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 7d3ae0de47..3e673c437c 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); }