diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-02-16 15:08:07 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-04-22 17:36:07 +0200 |
commit | 8b1eb44b3ed5483071dc6754662a277b45e4a809 (patch) | |
tree | ed985a775881cce60a98ab7ddc43803ccf7d463c /src/video_core/renderer_vulkan/vk_rasterizer.cpp | |
parent | GPU: Refactor synchronization on Async GPU (diff) | |
download | yuzu-8b1eb44b3ed5483071dc6754662a277b45e4a809.tar yuzu-8b1eb44b3ed5483071dc6754662a277b45e4a809.tar.gz yuzu-8b1eb44b3ed5483071dc6754662a277b45e4a809.tar.bz2 yuzu-8b1eb44b3ed5483071dc6754662a277b45e4a809.tar.lz yuzu-8b1eb44b3ed5483071dc6754662a277b45e4a809.tar.xz yuzu-8b1eb44b3ed5483071dc6754662a277b45e4a809.tar.zst yuzu-8b1eb44b3ed5483071dc6754662a277b45e4a809.zip |
Diffstat (limited to '')
-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 ad59f558d..4d0c90aa3 100644 --- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp +++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp @@ -530,12 +530,12 @@ void RasterizerVulkan::OnCPUWrite(VAddr addr, u64 size) { } texture_cache.OnCPUWrite(addr, size); pipeline_cache.InvalidateRegion(addr, size); - buffer_cache.InvalidateRegion(addr, size); + buffer_cache.OnCPUWrite(addr, size); } void RasterizerVulkan::SyncGuestHost() { texture_cache.SyncGuestHost(); - // buffer_cache.SyncGuestHost(); + buffer_cache.SyncGuestHost(); } void RasterizerVulkan::FlushAndInvalidateRegion(VAddr addr, u64 size) { |