diff options
| author | 2020-04-19 13:47:45 -0400 | |
|---|---|---|
| committer | 2020-04-22 11:36:26 -0400 | |
| commit | 39e5b7294898c45cf247b61e46ef735bd16e96ae (patch) | |
| tree | 5386810c59b46a2f81087be1ca8a58dd319995bb /src/video_core/gpu_thread.cpp | |
| parent | MaxwellDMA: Correct copying on accuracy level. (diff) | |
| download | yuzu-39e5b7294898c45cf247b61e46ef735bd16e96ae.tar.gz yuzu-39e5b7294898c45cf247b61e46ef735bd16e96ae.tar.xz yuzu-39e5b7294898c45cf247b61e46ef735bd16e96ae.zip | |
Async GPU: Correct flushing behavior to be similar to old async GPU behavior.
Diffstat (limited to 'src/video_core/gpu_thread.cpp')
| -rw-r--r-- | src/video_core/gpu_thread.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/gpu_thread.cpp b/src/video_core/gpu_thread.cpp index 7df854a2f..c3bb4fe06 100644 --- a/src/video_core/gpu_thread.cpp +++ b/src/video_core/gpu_thread.cpp | |||
| @@ -84,6 +84,10 @@ void ThreadManager::SwapBuffers(const Tegra::FramebufferConfig* framebuffer) { | |||
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | void ThreadManager::FlushRegion(VAddr addr, u64 size) { | 86 | void ThreadManager::FlushRegion(VAddr addr, u64 size) { |
| 87 | if (!Settings::IsGPULevelHigh()) { | ||
| 88 | PushCommand(FlushRegionCommand(addr, size)); | ||
| 89 | return; | ||
| 90 | } | ||
| 87 | if (!Settings::IsGPULevelExtreme()) { | 91 | if (!Settings::IsGPULevelExtreme()) { |
| 88 | return; | 92 | return; |
| 89 | } | 93 | } |