vk_pipeline_cache: Remove unused variable

This commit is contained in:
ReinUsesLisp 2020-03-18 17:33:02 -03:00
parent 8cbe1d9de4
commit da4ea99c9b

View file

@ -192,7 +192,6 @@ std::array<Shader, Maxwell::MaxShaderProgram> VKPipelineCache::GetShaders() {
std::array<Shader, Maxwell::MaxShaderProgram> shaders;
for (std::size_t index = 0; index < Maxwell::MaxShaderProgram; ++index) {
const auto& shader_config = gpu.regs.shader_config[index];
const auto program{static_cast<Maxwell::ShaderProgram>(index)};
// Skip stages that are not enabled