Преглед изворни кода

vk_pipeline_cache: Remove unused variable

ReinUsesLisp пре 6 година
родитељ
комит
98d85cdc20
1 измењених фајлова са 0 додато и 1 уклоњено
  1. 0 1
      src/video_core/renderer_vulkan/vk_pipeline_cache.cpp

+ 0 - 1
src/video_core/renderer_vulkan/vk_pipeline_cache.cpp

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