Browse Source

gl_shader_cache: Remove unused entries variable in BuildShader()

Eliminates a few unnecessary constructions of std::vectors.
pull/15/merge
Lioncash 6 years ago
parent
commit
15a6840e7a
  1. 1
      src/video_core/renderer_opengl/gl_shader_cache.cpp

1
src/video_core/renderer_opengl/gl_shader_cache.cpp

@ -243,7 +243,6 @@ CachedProgram BuildShader(const Device& device, u64 unique_identifier, ShaderTyp
if (!code_b.empty()) {
ir_b.emplace(code_b, main_offset, COMPILER_SETTINGS, locker);
}
const auto entries = GLShader::GetEntries(ir);
std::string source = fmt::format(R"(// {}
#version 430 core

Loading…
Cancel
Save