summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-05-16 01:40:08 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-05-16 01:40:08 +0200
commit7a27b7f3a3f07a0ed08bca0c22d395157b0e4c05 (patch)
tree637b7348d6cbee2ea8078cd793410d961829e0c6
parentMerge pull request #3927 from jroweboy/fix-bug (diff)
downloadyuzu-7a27b7f3a3f07a0ed08bca0c22d395157b0e4c05.tar
yuzu-7a27b7f3a3f07a0ed08bca0c22d395157b0e4c05.tar.gz
yuzu-7a27b7f3a3f07a0ed08bca0c22d395157b0e4c05.tar.bz2
yuzu-7a27b7f3a3f07a0ed08bca0c22d395157b0e4c05.tar.lz
yuzu-7a27b7f3a3f07a0ed08bca0c22d395157b0e4c05.tar.xz
yuzu-7a27b7f3a3f07a0ed08bca0c22d395157b0e4c05.tar.zst
yuzu-7a27b7f3a3f07a0ed08bca0c22d395157b0e4c05.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_vulkan/vk_rasterizer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
index 8b009fc22..17a2efe8e 100644
--- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp
+++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
@@ -569,7 +569,9 @@ void RasterizerVulkan::ReleaseFences() {
}
void RasterizerVulkan::FlushAndInvalidateRegion(VAddr addr, u64 size) {
- FlushRegion(addr, size);
+ if (Settings::IsGPULevelExtreme()) {
+ FlushRegion(addr, size);
+ }
InvalidateRegion(addr, size);
}