summaryrefslogtreecommitdiff
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_rasterizer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
index 0a2ea4fd4..6b99cbbbc 100644
--- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp
+++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
@@ -599,7 +599,7 @@ RasterizerVulkan::Texceptions RasterizerVulkan::UpdateAttachments() {
599 Texceptions texceptions; 599 Texceptions texceptions;
600 for (std::size_t rt = 0; rt < Maxwell::NumRenderTargets; ++rt) { 600 for (std::size_t rt = 0; rt < Maxwell::NumRenderTargets; ++rt) {
601 if (update_rendertargets) { 601 if (update_rendertargets) {
602 color_attachments[rt] = texture_cache.GetColorBufferSurface(rt, true); 602 color_attachments[rt] = texture_cache.GetColorBufferSurface(rt);
603 } 603 }
604 if (color_attachments[rt] && WalkAttachmentOverlaps(*color_attachments[rt])) { 604 if (color_attachments[rt] && WalkAttachmentOverlaps(*color_attachments[rt])) {
605 texceptions[rt] = true; 605 texceptions[rt] = true;
@@ -607,7 +607,7 @@ RasterizerVulkan::Texceptions RasterizerVulkan::UpdateAttachments() {
607 } 607 }
608 608
609 if (update_rendertargets) { 609 if (update_rendertargets) {
610 zeta_attachment = texture_cache.GetDepthBufferSurface(true); 610 zeta_attachment = texture_cache.GetDepthBufferSurface();
611 } 611 }
612 if (zeta_attachment && WalkAttachmentOverlaps(*zeta_attachment)) { 612 if (zeta_attachment && WalkAttachmentOverlaps(*zeta_attachment)) {
613 texceptions[ZETA_TEXCEPTION_INDEX] = true; 613 texceptions[ZETA_TEXCEPTION_INDEX] = true;