summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-04-06 00:39:24 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-04-06 15:23:07 +0200
commit3dd5c07454bda0518b965f941399d64aabac5629 (patch)
tree217539bf095122bc2d81898044bf488887196e28 /src/video_core/renderer_vulkan
parentBuffer Cache: Use vAddr instead of physical memory. (diff)
downloadyuzu-3dd5c07454bda0518b965f941399d64aabac5629.tar
yuzu-3dd5c07454bda0518b965f941399d64aabac5629.tar.gz
yuzu-3dd5c07454bda0518b965f941399d64aabac5629.tar.bz2
yuzu-3dd5c07454bda0518b965f941399d64aabac5629.tar.lz
yuzu-3dd5c07454bda0518b965f941399d64aabac5629.tar.xz
yuzu-3dd5c07454bda0518b965f941399d64aabac5629.tar.zst
yuzu-3dd5c07454bda0518b965f941399d64aabac5629.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_rasterizer.cpp4
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 b6ba5de12..199533517 100644
--- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp
+++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
@@ -502,7 +502,7 @@ void RasterizerVulkan::FlushRegion(VAddr addr, u64 size) {
CacheAddr cache_addr = ToCacheAddr(system.Memory().GetPointer(addr));
texture_cache.FlushRegion(addr, size);
buffer_cache.FlushRegion(addr, size);
- query_cache.FlushRegion(cache_addr, size);
+ query_cache.FlushRegion(addr, size);
}
void RasterizerVulkan::InvalidateRegion(VAddr addr, u64 size) {
@@ -513,7 +513,7 @@ void RasterizerVulkan::InvalidateRegion(VAddr addr, u64 size) {
texture_cache.InvalidateRegion(addr, size);
pipeline_cache.InvalidateRegion(cache_addr, size);
buffer_cache.InvalidateRegion(addr, size);
- query_cache.InvalidateRegion(cache_addr, size);
+ query_cache.InvalidateRegion(addr, size);
}
void RasterizerVulkan::FlushAndInvalidateRegion(VAddr addr, u64 size) {