diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-04-06 01:18:00 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-04-06 15:23:07 +0200 |
commit | ea535d9470fb86f274304f76fd02300618b3500e (patch) | |
tree | 4bf313590ae7024bc0d2f4cfb6c24e57dda73189 /src/video_core/renderer_vulkan/vk_rasterizer.cpp | |
parent | Query Cache: Use VAddr instead of physical memory for adressing. (diff) | |
download | yuzu-ea535d9470fb86f274304f76fd02300618b3500e.tar yuzu-ea535d9470fb86f274304f76fd02300618b3500e.tar.gz yuzu-ea535d9470fb86f274304f76fd02300618b3500e.tar.bz2 yuzu-ea535d9470fb86f274304f76fd02300618b3500e.tar.lz yuzu-ea535d9470fb86f274304f76fd02300618b3500e.tar.xz yuzu-ea535d9470fb86f274304f76fd02300618b3500e.tar.zst yuzu-ea535d9470fb86f274304f76fd02300618b3500e.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_rasterizer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp index 199533517..1466018fa 100644 --- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp +++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp @@ -509,9 +509,8 @@ void RasterizerVulkan::InvalidateRegion(VAddr addr, u64 size) { if (!addr || !size) { return; } - CacheAddr cache_addr = ToCacheAddr(system.Memory().GetPointer(addr)); texture_cache.InvalidateRegion(addr, size); - pipeline_cache.InvalidateRegion(cache_addr, size); + pipeline_cache.InvalidateRegion(addr, size); buffer_cache.InvalidateRegion(addr, size); query_cache.InvalidateRegion(addr, size); } |