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 64b69273f5
commit 491aea4a91
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);
}