diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-27 00:53:02 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-27 00:53:02 +0200 |
commit | 8da16cf9fb6c2133faed1164a8573992e84a4297 (patch) | |
tree | a0d14c5ec0955d35cbc22b1670eadcdbdbe5ba31 /src/video_core/renderer_vulkan | |
parent | Merge pull request #3795 from vitor-k/fix-folder (diff) | |
download | yuzu-8da16cf9fb6c2133faed1164a8573992e84a4297.tar yuzu-8da16cf9fb6c2133faed1164a8573992e84a4297.tar.gz yuzu-8da16cf9fb6c2133faed1164a8573992e84a4297.tar.bz2 yuzu-8da16cf9fb6c2133faed1164a8573992e84a4297.tar.lz yuzu-8da16cf9fb6c2133faed1164a8573992e84a4297.tar.xz yuzu-8da16cf9fb6c2133faed1164a8573992e84a4297.tar.zst yuzu-8da16cf9fb6c2133faed1164a8573992e84a4297.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_rasterizer.cpp | 4 |
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 68464e637..51c3b0f77 100644 --- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp +++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp @@ -652,7 +652,7 @@ RasterizerVulkan::Texceptions RasterizerVulkan::UpdateAttachments() { Texceptions texceptions; for (std::size_t rt = 0; rt < Maxwell::NumRenderTargets; ++rt) { if (update_rendertargets) { - color_attachments[rt] = texture_cache.GetColorBufferSurface(rt); + color_attachments[rt] = texture_cache.GetColorBufferSurface(rt, true); } if (color_attachments[rt] && WalkAttachmentOverlaps(*color_attachments[rt])) { texceptions[rt] = true; @@ -660,7 +660,7 @@ RasterizerVulkan::Texceptions RasterizerVulkan::UpdateAttachments() { } if (update_rendertargets) { - zeta_attachment = texture_cache.GetDepthBufferSurface(); + zeta_attachment = texture_cache.GetDepthBufferSurface(true); } if (zeta_attachment && WalkAttachmentOverlaps(*zeta_attachment)) { texceptions[ZETA_TEXCEPTION_INDEX] = true; |