diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-01-29 23:02:04 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-01-29 23:02:04 +0100 |
commit | d0a5a48948b91011e2117c6ae8f717e7271abcc8 (patch) | |
tree | d6036b4a19ea805e4a66337010e00988ac30eac7 | |
parent | Rasterizer: Implement Inline2Memory Acceleration. (diff) | |
download | yuzu-d0a5a48948b91011e2117c6ae8f717e7271abcc8.tar yuzu-d0a5a48948b91011e2117c6ae8f717e7271abcc8.tar.gz yuzu-d0a5a48948b91011e2117c6ae8f717e7271abcc8.tar.bz2 yuzu-d0a5a48948b91011e2117c6ae8f717e7271abcc8.tar.lz yuzu-d0a5a48948b91011e2117c6ae8f717e7271abcc8.tar.xz yuzu-d0a5a48948b91011e2117c6ae8f717e7271abcc8.tar.zst yuzu-d0a5a48948b91011e2117c6ae8f717e7271abcc8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/gpu.cpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index e326018ae..191b97dbf 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp @@ -503,8 +503,15 @@ struct GPU::Impl { case BufferMethods::SemaphoreAddressHigh: case BufferMethods::SemaphoreAddressLow: case BufferMethods::SemaphoreSequence: - case BufferMethods::UnkCacheFlush: - case BufferMethods::WrcacheFlush: + break; + case BufferMethods::UnkCacheFlush: { + rasterizer->SyncGuestHost(); + break; + } + case BufferMethods::WrcacheFlush: { + rasterizer->SignalReference(); + break; + } case BufferMethods::FenceValue: break; case BufferMethods::RefCnt: @@ -514,7 +521,7 @@ struct GPU::Impl { ProcessFenceActionMethod(); break; case BufferMethods::WaitForInterrupt: - ProcessWaitForInterruptMethod(); + rasterizer->WaitForIdle(); break; case BufferMethods::SemaphoreTrigger: { ProcessSemaphoreTriggerMethod(); |