Skip to content
Snippets Groups Projects
Commit d0a5a489 authored by Fernando Sahmkow's avatar Fernando Sahmkow
Browse files

GPU: Improve syncing.

parent 4258d515
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment