You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// whenever transfer needs to do a submit overflow because it ran out of memory for streaming, we can already submit the recorded compute shader dispatches
4039
4039
auto computeCmdBuf = shouldDoSomeCompute ? params.compute->getCommandBufferForRecording():nullptr;
4040
-
auto drainCompute = [¶ms,&computeCmdBuf](const std::span<const IQueue::SSubmitInfo::SSemaphoreInfo> extraSignal={})->auto
4040
+
auto drainCompute = [¶ms,shouldDoSomeTransfer,&computeCmdBuf](const std::span<const IQueue::SSubmitInfo::SSemaphoreInfo> extraSignal={})->auto
4041
4041
{
4042
4042
if (!computeCmdBuf || computeCmdBuf->cmdbuf->empty())
4043
4043
return IQueue::RESULT::SUCCESS;
4044
4044
// before we overflow submit we need to inject extra wait semaphores
// TODO:: Shall we rewrite? e.g. we upload everything first, extra submit for QFOT pipeline barrier & transition in overflow callback, then record compute commands, and submit them, plus their final QFOTs
// Its too dangerous to leave an Intended Transfer Submit hanging around that needs to be submitted for Compute to make forward progress outside of this utility,
5343
5351
// and doing transfer-signals-after-compute-wait timeline sema tricks are not and option because:
0 commit comments