summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-07-25 05:33:58 +0200
committerGitHub <noreply@github.com>2020-07-25 05:33:58 +0200
commitdc2d31b1b2be603beedaad2daeb543b68f7b7857 (patch)
tree009adba99dc10f91b7be3baa2763b397e154024e
parentMerge pull request #4377 from Morph1984/dark-themes (diff)
parentvk_rasterizer: Remove unused variable in Clear() (diff)
downloadyuzu-dc2d31b1b2be603beedaad2daeb543b68f7b7857.tar
yuzu-dc2d31b1b2be603beedaad2daeb543b68f7b7857.tar.gz
yuzu-dc2d31b1b2be603beedaad2daeb543b68f7b7857.tar.bz2
yuzu-dc2d31b1b2be603beedaad2daeb543b68f7b7857.tar.lz
yuzu-dc2d31b1b2be603beedaad2daeb543b68f7b7857.tar.xz
yuzu-dc2d31b1b2be603beedaad2daeb543b68f7b7857.tar.zst
yuzu-dc2d31b1b2be603beedaad2daeb543b68f7b7857.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_vulkan/vk_rasterizer.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
index 31e44aa2b..2ed2004f0 100644
--- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp
+++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
@@ -532,10 +532,6 @@ void RasterizerVulkan::Clear() {
scheduler.Record([clear_depth = regs.clear_depth, clear_stencil = regs.clear_stencil,
clear_rect, aspect_flags](vk::CommandBuffer cmdbuf) {
- VkClearValue clear_value;
- clear_value.depthStencil.depth = clear_depth;
- clear_value.depthStencil.stencil = clear_stencil;
-
VkClearAttachment attachment;
attachment.aspectMask = aspect_flags;
attachment.colorAttachment = 0;