summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-03-18 21:35:06 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-03-19 00:03:19 +0100
commitfc51ece7bfaf304cf81ce1ceedc0805c4125cb3f (patch)
treec45f56b053020fa57663472553524505f1542566 /src/video_core/renderer_vulkan
parentvk_pipeline_cache: Remove unused variable (diff)
downloadyuzu-fc51ece7bfaf304cf81ce1ceedc0805c4125cb3f.tar
yuzu-fc51ece7bfaf304cf81ce1ceedc0805c4125cb3f.tar.gz
yuzu-fc51ece7bfaf304cf81ce1ceedc0805c4125cb3f.tar.bz2
yuzu-fc51ece7bfaf304cf81ce1ceedc0805c4125cb3f.tar.lz
yuzu-fc51ece7bfaf304cf81ce1ceedc0805c4125cb3f.tar.xz
yuzu-fc51ece7bfaf304cf81ce1ceedc0805c4125cb3f.tar.zst
yuzu-fc51ece7bfaf304cf81ce1ceedc0805c4125cb3f.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_rasterizer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
index 755aad643..58c69b786 100644
--- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp
+++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
@@ -548,8 +548,6 @@ bool RasterizerVulkan::AccelerateDisplay(const Tegra::FramebufferConfig& config,
// Verify that the cached surface is the same size and format as the requested framebuffer
const auto& params{surface->GetSurfaceParams()};
- const auto& pixel_format{
- VideoCore::Surface::PixelFormatFromGPUPixelFormat(config.pixel_format)};
ASSERT_MSG(params.width == config.width, "Framebuffer width is different");
ASSERT_MSG(params.height == config.height, "Framebuffer height is different");