summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-03-18 21:33:02 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-03-19 00:03:19 +0100
commit98d85cdc206d58b90f68a415aa1d5e907388813b (patch)
treee01cc03c3e282c1f624e04e2ad43b9da50490d2b /src/video_core
parentmaxwell_to_vk: Sielence -Wswitch warning (diff)
downloadyuzu-98d85cdc206d58b90f68a415aa1d5e907388813b.tar
yuzu-98d85cdc206d58b90f68a415aa1d5e907388813b.tar.gz
yuzu-98d85cdc206d58b90f68a415aa1d5e907388813b.tar.bz2
yuzu-98d85cdc206d58b90f68a415aa1d5e907388813b.tar.lz
yuzu-98d85cdc206d58b90f68a415aa1d5e907388813b.tar.xz
yuzu-98d85cdc206d58b90f68a415aa1d5e907388813b.tar.zst
yuzu-98d85cdc206d58b90f68a415aa1d5e907388813b.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_vulkan/vk_pipeline_cache.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
index 91e7b7791..557b9d662 100644
--- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
+++ b/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