|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
protected |
Multi-pipeline dependency dispatch.
For each stage, in order: applies its shader config (swap_shader equivalent), invokes stage_fn to perform whatever staging that stage needs, ensures its GpuResourceManager unit exists, binds its descriptors, invokes hazard_fn to resolve hazard resources now that this stage's data exists, then accumulates a Portal::Graphics::ComputeStage. After every stage is prepared, records and submits the full sequence in one command buffer via GpuResourceManager::dispatch_sequence.
Restores the context's original shader config, bindings, and staged data after the sequence runs, so a subsequent unrelated dispatch_core call on this context is unaffected.
| stages | Ordered list of stage descriptions. |
Definition at line 363 of file GpuDispatchCore.cpp.
References MayaFlux::Yantra::GpuResourceManager::dispatch_sequence(), m_resources, and prepare_dependency().
Referenced by MayaFlux::Yantra::GpuExecutionContext< InputType, OutputType >::execute().
Here is the call graph for this function:
Here is the caller graph for this function: