Browse Source
Merge pull request #7673 from german77/no_return
glsl: Remove unreachable return
pull/15/merge
Mai M
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
1 additions and
2 deletions
-
src/shader_recompiler/backend/glsl/var_alloc.cpp
-
src/video_core/shader_environment.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) { |
|
|
|
|
|
|
|
@ -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); |
|
|
|
} |
|
|
|
|
|
|
|
|