mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-26 12:15:42 +01:00
vk_rasterizer: Match OpenGL's FlushAndInvalidate behavior
Match OpenGL's behavior. This can fix or simplify bisecting issues on Vulkan.
This commit is contained in:
parent
024c84d2db
commit
7a27b7f3a3
@ -569,7 +569,9 @@ void RasterizerVulkan::ReleaseFences() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void RasterizerVulkan::FlushAndInvalidateRegion(VAddr addr, u64 size) {
|
void RasterizerVulkan::FlushAndInvalidateRegion(VAddr addr, u64 size) {
|
||||||
FlushRegion(addr, size);
|
if (Settings::IsGPULevelExtreme()) {
|
||||||
|
FlushRegion(addr, size);
|
||||||
|
}
|
||||||
InvalidateRegion(addr, size);
|
InvalidateRegion(addr, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user