|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
One stage in a dispatch_core_dependency call. More...
#include <GpuDispatchCore.hpp>
Collaboration diagram for MayaFlux::Yantra::DependencyStage:Public Attributes | |
| GpuComputeConfig | config |
| std::optional< std::array< uint32_t, 3 > > | explicit_groups |
| std::function< std::vector< Portal::Graphics::HazardResource >(GpuDispatchCore &)> | hazard_fn |
| std::function< void(GpuDispatchCore &)> | stage_fn |
One stage in a dispatch_core_dependency call.
stage_fn is invoked with this context as the active target, exactly as if the caller had just called swap_shader(config) and were about to call dispatch_core — stage_image_at, set_binding_data, stage_passthrough, set_push_constants all apply normally inside stage_fn. Works identically for image-bearing and buffer-only shaders; nothing about this struct is image-specific.
hazard_fn runs immediately after stage_fn, once this stage's resources (e.g. an image just allocated inside stage_fn) actually exist. Returns the hazard list for this stage; may be empty if nothing downstream in the same dependency call depends on this stage's output.
Definition at line 43 of file GpuDispatchCore.hpp.