Fix GPU Tasks queue to be executed on frame start, rather than end
This commit is contained in:
@@ -30,6 +30,11 @@ void GPUTask::Execute(GPUTasksContext* context)
|
||||
// Save task completion point (for synchronization)
|
||||
_syncPoint = context->GetCurrentSyncPoint();
|
||||
_context = context;
|
||||
if (_syncLatency == 0)
|
||||
{
|
||||
// No delay on sync
|
||||
Sync();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user