mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
gl_shader_cache: Remove unused entries variable in BuildShader()
Eliminates a few unnecessary constructions of std::vectors.
This commit is contained in:
parent
55f95e7f26
commit
15a6840e7a
|
@ -243,7 +243,6 @@ CachedProgram BuildShader(const Device& device, u64 unique_identifier, ShaderTyp
|
||||||
if (!code_b.empty()) {
|
if (!code_b.empty()) {
|
||||||
ir_b.emplace(code_b, main_offset, COMPILER_SETTINGS, locker);
|
ir_b.emplace(code_b, main_offset, COMPILER_SETTINGS, locker);
|
||||||
}
|
}
|
||||||
const auto entries = GLShader::GetEntries(ir);
|
|
||||||
|
|
||||||
std::string source = fmt::format(R"(// {}
|
std::string source = fmt::format(R"(// {}
|
||||||
#version 430 core
|
#version 430 core
|
||||||
|
|
Loading…
Reference in a new issue