yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

gl_shader_cache: Remove unused entries variable in BuildShader()

Eliminates a few unnecessary constructions of std::vectors.
This commit is contained in:
Lioncash 2020-01-14 13:11:46 -05:00
parent 55f95e7f26
commit 15a6840e7a
1 changed files with 0 additions and 1 deletions

View File

@ -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