Browse Source
Merge pull request #3942 from ReinUsesLisp/flush-and-invalidate
vk_rasterizer: Match OpenGL's FlushAndInvalidate behavior
pull/15/merge
bunnei
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
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); |
|
|
|
} |
|
|
|
|
|
|
|
|