aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authoryuzubot <yuzu@yuzu-emu.org>2022-01-30 13:02:17 +0000
committeryuzubot <yuzu@yuzu-emu.org>2022-01-30 13:02:17 +0000
commit60ae143f026b477dcbc452cd8523d04a3a49c034 (patch)
treed6036b4a19ea805e4a66337010e00988ac30eac7 /src/video_core/gpu.cpp
parent11099dda2e2ab67ba4861d1e927afaa2ccce1efa (diff)
"Merge Tagged PR 7805"
Diffstat (limited to 'src/video_core/gpu.cpp')
-rw-r--r--src/video_core/gpu.cpp14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp
index 705765c998..191b97dbf4 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -59,6 +59,7 @@ struct GPU::Impl {
maxwell_3d->BindRasterizer(rasterizer);
fermi_2d->BindRasterizer(rasterizer);
kepler_compute->BindRasterizer(rasterizer);
+ kepler_memory->BindRasterizer(rasterizer);
maxwell_dma->BindRasterizer(rasterizer);
}
@@ -502,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:
@@ -513,7 +521,7 @@ struct GPU::Impl {
ProcessFenceActionMethod();
break;
case BufferMethods::WaitForInterrupt:
- ProcessWaitForInterruptMethod();
+ rasterizer->WaitForIdle();
break;
case BufferMethods::SemaphoreTrigger: {
ProcessSemaphoreTriggerMethod();