diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-04-05 23:23:49 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-04-06 15:23:06 +0200 |
commit | 7fcd0fee6d580a381fdc4a4ec5b77687e4857b5b (patch) | |
tree | fc9c659ffa601aee77eeea2a11f16be98cefc902 /src/video_core/renderer_vulkan/vk_rasterizer.cpp | |
parent | Texture Cache: Use vAddr instead of physical memory for caching. (diff) | |
download | yuzu-7fcd0fee6d580a381fdc4a4ec5b77687e4857b5b.tar yuzu-7fcd0fee6d580a381fdc4a4ec5b77687e4857b5b.tar.gz yuzu-7fcd0fee6d580a381fdc4a4ec5b77687e4857b5b.tar.bz2 yuzu-7fcd0fee6d580a381fdc4a4ec5b77687e4857b5b.tar.lz yuzu-7fcd0fee6d580a381fdc4a4ec5b77687e4857b5b.tar.xz yuzu-7fcd0fee6d580a381fdc4a4ec5b77687e4857b5b.tar.zst yuzu-7fcd0fee6d580a381fdc4a4ec5b77687e4857b5b.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 cc76d96ea..b6ba5de12 100644 --- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp +++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp @@ -501,7 +501,7 @@ void RasterizerVulkan::FlushRegion(VAddr addr, u64 size) { } CacheAddr cache_addr = ToCacheAddr(system.Memory().GetPointer(addr)); texture_cache.FlushRegion(addr, size); - buffer_cache.FlushRegion(cache_addr, size); + buffer_cache.FlushRegion(addr, size); query_cache.FlushRegion(cache_addr, size); } @@ -512,7 +512,7 @@ void RasterizerVulkan::InvalidateRegion(VAddr addr, u64 size) { CacheAddr cache_addr = ToCacheAddr(system.Memory().GetPointer(addr)); texture_cache.InvalidateRegion(addr, size); pipeline_cache.InvalidateRegion(cache_addr, size); - buffer_cache.InvalidateRegion(cache_addr, size); + buffer_cache.InvalidateRegion(addr, size); query_cache.InvalidateRegion(cache_addr, size); } |