mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-11-22 09:53:35 +01:00
Ensure all pending draws are done before compute dispatch (#3822)
This commit is contained in:
parent
f82309fa2d
commit
647de4cd31
1 changed files with 4 additions and 0 deletions
|
@ -94,6 +94,10 @@ namespace Ryujinx.Graphics.Gpu.Engine.Compute
|
||||||
{
|
{
|
||||||
var memoryManager = _channel.MemoryManager;
|
var memoryManager = _channel.MemoryManager;
|
||||||
|
|
||||||
|
// Since we're going to change the state, make sure any pending instanced draws are done.
|
||||||
|
_3dEngine.PerformDeferredDraws();
|
||||||
|
|
||||||
|
// Make sure all pending uniform buffer data is written to memory.
|
||||||
_3dEngine.FlushUboDirty();
|
_3dEngine.FlushUboDirty();
|
||||||
|
|
||||||
uint qmdAddress = _state.State.SendPcasA;
|
uint qmdAddress = _state.State.SendPcasA;
|
||||||
|
|
Loading…
Reference in a new issue