2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #3942 from ReinUsesLisp/flush-and-invalidate

vk_rasterizer: Match OpenGL's FlushAndInvalidate behavior
This commit is contained in:
bunnei 2020-05-15 21:34:07 -04:00 committed by GitHub
commit 55c0dd1cb3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -569,7 +569,9 @@ void RasterizerVulkan::ReleaseFences() {
} }
void RasterizerVulkan::FlushAndInvalidateRegion(VAddr addr, u64 size) { void RasterizerVulkan::FlushAndInvalidateRegion(VAddr addr, u64 size) {
if (Settings::IsGPULevelExtreme()) {
FlushRegion(addr, size); FlushRegion(addr, size);
}
InvalidateRegion(addr, size); InvalidateRegion(addr, size);
} }