summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-07-21 06:49:06 +0200
committerLioncash <mathew1800@gmail.com>2020-07-21 06:49:10 +0200
commit4b369126c4b5c942597abb5b2e6af8a1fbcd88ac (patch)
tree0068e357394765cfe574a6336edd71f94921b490 /src/video_core/renderer_vulkan
parentMerge pull request #4376 from ogniK5377/dark-wait-tree (diff)
downloadyuzu-4b369126c4b5c942597abb5b2e6af8a1fbcd88ac.tar
yuzu-4b369126c4b5c942597abb5b2e6af8a1fbcd88ac.tar.gz
yuzu-4b369126c4b5c942597abb5b2e6af8a1fbcd88ac.tar.bz2
yuzu-4b369126c4b5c942597abb5b2e6af8a1fbcd88ac.tar.lz
yuzu-4b369126c4b5c942597abb5b2e6af8a1fbcd88ac.tar.xz
yuzu-4b369126c4b5c942597abb5b2e6af8a1fbcd88ac.tar.zst
yuzu-4b369126c4b5c942597abb5b2e6af8a1fbcd88ac.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-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;