1
0
Fork 0
forked from suyu/suyu

vk_pipeline_cache: Remove unused variable

This commit is contained in:
ReinUsesLisp 2020-03-18 17:33:02 -03:00
parent dab450ec46
commit 98d85cdc20

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