diff options
author | bunnei <bunneidev@gmail.com> | 2020-05-16 03:34:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-16 03:34:07 +0200 |
commit | 55c0dd1cb38b998476ddca8e150cb86133d013d8 (patch) | |
tree | e126b768de79d2960bc39f0803378d1ac048fb43 | |
parent | frontend: Set minimum window size to 640x360 instead of 1280x720 (#3413) (diff) | |
parent | vk_rasterizer: Match OpenGL's FlushAndInvalidate behavior (diff) | |
download | yuzu-55c0dd1cb38b998476ddca8e150cb86133d013d8.tar yuzu-55c0dd1cb38b998476ddca8e150cb86133d013d8.tar.gz yuzu-55c0dd1cb38b998476ddca8e150cb86133d013d8.tar.bz2 yuzu-55c0dd1cb38b998476ddca8e150cb86133d013d8.tar.lz yuzu-55c0dd1cb38b998476ddca8e150cb86133d013d8.tar.xz yuzu-55c0dd1cb38b998476ddca8e150cb86133d013d8.tar.zst yuzu-55c0dd1cb38b998476ddca8e150cb86133d013d8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_rasterizer.cpp | 4 |
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); } |