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
1 changed files with 0 additions and 1 deletions
|
@ -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