diff options
| -rw-r--r-- | src/shader_recompiler/backend/glsl/var_alloc.cpp | 1 | ||||
| -rw-r--r-- | src/video_core/shader_environment.cpp | 2 |
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) { | |||
| 131 | } else { | 131 | } else { |
| 132 | return ""; | 132 | return ""; |
| 133 | } | 133 | } |
| 134 | return Representation(inst.Definition<Id>()); | ||
| 135 | } | 134 | } |
| 136 | 135 | ||
| 137 | std::string VarAlloc::Consume(const IR::Value& value) { | 136 | 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) { | |||
| 381 | } | 381 | } |
| 382 | } | 382 | } |
| 383 | 383 | ||
| 384 | void FileEnvironment::Dump(u64 [[maybe_unused]] hash) { | 384 | void FileEnvironment::Dump(u64 hash) { |
| 385 | DumpImpl(hash, code.get(), read_highest, read_lowest, initial_offset, stage); | 385 | DumpImpl(hash, code.get(), read_highest, read_lowest, initial_offset, stage); |
| 386 | } | 386 | } |
| 387 | 387 | ||