소스 검색

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