MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ begin_dispatch_commands()

Portal::Graphics::CommandBufferID MayaFlux::Yantra::GpuResourceManager::begin_dispatch_commands ( bool compute_isolated)
staticnodiscard

Begin Yantra dispatch work on the selected queue.

Isolated work uses a distinct compute queue when available. Shared work and devices without a distinct compute queue use the graphics queue.

Definition at line 1039 of file GpuResourceManager.cpp.

1040{
1041 auto& foundry = Portal::Graphics::get_shader_foundry();
1042 const bool dedicated_compute = compute_isolated
1043 && foundry.get_compute_queue() != foundry.get_graphics_queue();
1044 return foundry.begin_commands(dedicated_compute
1047}
MAYAFLUX_API ShaderFoundry & get_shader_foundry()
Get the global shader compiler instance.

References MayaFlux::Portal::Graphics::ShaderFoundry::COMPUTE, MayaFlux::Portal::Graphics::get_shader_foundry(), and MayaFlux::Portal::Graphics::ShaderFoundry::GRAPHICS.

Referenced by MayaFlux::Yantra::GpuDispatchRecorder::command(), and open_commands().

Here is the call graph for this function:
Here is the caller graph for this function: