Async GPU: Correct flushing behavior to be similar to old async GPU behavior.

This commit is contained in:
Fernando Sahmkow 2020-04-19 13:47:45 -04:00
parent 1b3be8a8f8
commit 39e5b72948
3 changed files with 11 additions and 0 deletions

View file

@ -653,6 +653,9 @@ void RasterizerOpenGL::FlushRegion(VAddr addr, u64 size) {
}
bool RasterizerOpenGL::MustFlushRegion(VAddr addr, u64 size) {
if (!Settings::IsGPULevelHigh()) {
return buffer_cache.MustFlushRegion(addr, size);
}
return texture_cache.MustFlushRegion(addr, size) || buffer_cache.MustFlushRegion(addr, size);
}