diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-11 06:50:58 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-11 06:51:02 +0200 |
commit | 94b0e2e5dae4e0bd0021ac2d8fe1ff904a93ee69 (patch) | |
tree | 4b5c1a289b4a871dcaec3863cf951388f9637189 /src/video_core/renderer_vulkan/vk_rasterizer.cpp | |
parent | Merge pull request #3594 from ReinUsesLisp/vk-instance (diff) | |
download | yuzu-94b0e2e5dae4e0bd0021ac2d8fe1ff904a93ee69.tar yuzu-94b0e2e5dae4e0bd0021ac2d8fe1ff904a93ee69.tar.gz yuzu-94b0e2e5dae4e0bd0021ac2d8fe1ff904a93ee69.tar.bz2 yuzu-94b0e2e5dae4e0bd0021ac2d8fe1ff904a93ee69.tar.lz yuzu-94b0e2e5dae4e0bd0021ac2d8fe1ff904a93ee69.tar.xz yuzu-94b0e2e5dae4e0bd0021ac2d8fe1ff904a93ee69.tar.zst yuzu-94b0e2e5dae4e0bd0021ac2d8fe1ff904a93ee69.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_rasterizer.cpp')
-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 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() { Texceptions texceptions; for (std::size_t rt = 0; rt < Maxwell::NumRenderTargets; ++rt) { if (update_rendertargets) { - color_attachments[rt] = texture_cache.GetColorBufferSurface(rt, true); + color_attachments[rt] = texture_cache.GetColorBufferSurface(rt); } if (color_attachments[rt] && WalkAttachmentOverlaps(*color_attachments[rt])) { texceptions[rt] = true; @@ -607,7 +607,7 @@ RasterizerVulkan::Texceptions RasterizerVulkan::UpdateAttachments() { } if (update_rendertargets) { - zeta_attachment = texture_cache.GetDepthBufferSurface(true); + zeta_attachment = texture_cache.GetDepthBufferSurface(); } if (zeta_attachment && WalkAttachmentOverlaps(*zeta_attachment)) { texceptions[ZETA_TEXCEPTION_INDEX] = true; |