diff options
Diffstat (limited to '')
| -rw-r--r-- | src/video_core/renderer_vulkan/vk_rasterizer.cpp | 4 |
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() { | |||
| 532 | 532 | ||
| 533 | scheduler.Record([clear_depth = regs.clear_depth, clear_stencil = regs.clear_stencil, | 533 | scheduler.Record([clear_depth = regs.clear_depth, clear_stencil = regs.clear_stencil, |
| 534 | clear_rect, aspect_flags](vk::CommandBuffer cmdbuf) { | 534 | clear_rect, aspect_flags](vk::CommandBuffer cmdbuf) { |
| 535 | VkClearValue clear_value; | ||
| 536 | clear_value.depthStencil.depth = clear_depth; | ||
| 537 | clear_value.depthStencil.stencil = clear_stencil; | ||
| 538 | |||
| 539 | VkClearAttachment attachment; | 535 | VkClearAttachment attachment; |
| 540 | attachment.aspectMask = aspect_flags; | 536 | attachment.aspectMask = aspect_flags; |
| 541 | attachment.colorAttachment = 0; | 537 | attachment.colorAttachment = 0; |