summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2023-11-10 16:43:56 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2023-11-12 14:10:40 +0100
commitf1806d237f57f2c0944f6ae4721ac9497de5b4cf (patch)
treef717cadc5f074b2732323b2e3371bac4aedc3ec1 /src/video_core
parentRevert "renderer_vulkan: add locks to avoid scheduler flushes from CPU" (diff)
downloadyuzu-f1806d237f57f2c0944f6ae4721ac9497de5b4cf.tar
yuzu-f1806d237f57f2c0944f6ae4721ac9497de5b4cf.tar.gz
yuzu-f1806d237f57f2c0944f6ae4721ac9497de5b4cf.tar.bz2
yuzu-f1806d237f57f2c0944f6ae4721ac9497de5b4cf.tar.lz
yuzu-f1806d237f57f2c0944f6ae4721ac9497de5b4cf.tar.xz
yuzu-f1806d237f57f2c0944f6ae4721ac9497de5b4cf.tar.zst
yuzu-f1806d237f57f2c0944f6ae4721ac9497de5b4cf.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.cpp2
-rw-r--r--src/video_core/renderer_vulkan/vk_rasterizer.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp
index 27e2de1bf..9995b6dd4 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp
@@ -555,7 +555,7 @@ void RasterizerOpenGL::OnCacheInvalidation(VAddr addr, u64 size) {
}
{
std::scoped_lock lock{buffer_cache.mutex};
- buffer_cache.CachedWriteMemory(addr, size);
+ buffer_cache.WriteMemory(addr, size);
}
shader_cache.InvalidateRegion(addr, size);
}
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
index 3bfaabc49..e0ab1eaac 100644
--- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp
+++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
@@ -621,7 +621,7 @@ void RasterizerVulkan::OnCacheInvalidation(VAddr addr, u64 size) {
}
{
std::scoped_lock lock{buffer_cache.mutex};
- buffer_cache.CachedWriteMemory(addr, size);
+ buffer_cache.WriteMemory(addr, size);
}
pipeline_cache.InvalidateRegion(addr, size);
}