|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Yantra::GpuResourceManager::bind_descriptors_batch | ( | const std::string & | key, |
| const std::vector< GpuBufferBinding > & | bindings | ||
| ) |
Bind every non-image buffer binding in one Vulkan call.
Equivalent to calling bind_descriptor or bind_shared_descriptor once per non-image entry in bindings (routed the same way, by whether a shared slot exists at that (set, binding)), except every entry is submitted through a single vkUpdateDescriptorSets call. Image entries are skipped, matching bind_all_descriptors' existing split between buffer descriptors here and image descriptors bound separately per staged image.
Definition at line 386 of file GpuResourceManager.cpp.
References b, buffer, MayaFlux::Portal::Graphics::get_shader_foundry(), MayaFlux::Portal::Graphics::GpuBufferBinding::IMAGE_SAMPLED, MayaFlux::Portal::Graphics::GpuBufferBinding::IMAGE_STORAGE, m_shared, and unit_for().
Referenced by MayaFlux::Yantra::GpuDispatchCore::bind_all_descriptors().
Here is the call graph for this function:
Here is the caller graph for this function: