mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-16 16:47:53 +00: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
9e03fc2e29
commit
635a3add8b
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue