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

@ -84,6 +84,10 @@ void ThreadManager::SwapBuffers(const Tegra::FramebufferConfig* framebuffer) {
}
void ThreadManager::FlushRegion(VAddr addr, u64 size) {
if (!Settings::IsGPULevelHigh()) {
PushCommand(FlushRegionCommand(addr, size));
return;
}
if (!Settings::IsGPULevelExtreme()) {
return;
}