|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Yantra::GpuResourceManager::dispatch_sequence | ( | const std::vector< std::string > & | keys, |
| const std::vector< std::array< uint32_t, 3 > > & | groups_per_key, | ||
| const std::vector< std::vector< uint8_t > > & | push_constants_per_key, | ||
| const std::vector< std::vector< Portal::Graphics::HazardResource > > & | hazards_per_key, | ||
| const std::vector< Portal::Graphics::IndirectDispatch > & | indirect_per_key = {} |
||
| ) |
Record a dispatch for each requested key into one command buffer via ComputePress::record_sequence, submitted once.
Each key must already be initialise()'d. Vectors are parallel, indexed by position, one entry per key in the same order as keys. indirect_per_key is either empty or parallel too; a stage whose entry has a buffer dispatches with the counts stored there instead of its fixed groups.
Definition at line 853 of file GpuResourceManager.cpp.
References MayaFlux::Portal::Graphics::get_shader_foundry(), and record_sequence_commands().
Referenced by MayaFlux::Yantra::GpuDispatchCore::dispatch_core_dependency().
Here is the call graph for this function:
Here is the caller graph for this function: