|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
overrideprotectedvirtual |
Cover the grid with a 2D dispatch and write GridExtent.
| buffer | The attached buffer, expected to be a RelaxationGridBuffer. |
The local size is fixed at 16x16x1 and the group counts are ceil(width / 16) by ceil(height / 16). The workgroup_x constructor argument and ShaderSpec::workgroup_size are not consulted once attached to a grid.
Reimplemented from MayaFlux::Buffers::BufferProcessor.
Definition at line 91 of file RelaxationStepProcessor.cpp.
References buffer, m_grid, MayaFlux::Buffers::ShaderDispatchConfig::MANUAL, MayaFlux::Buffers::BufferProcessor::on_attach(), MayaFlux::Buffers::ComputeProcessor::set_dispatch_mode(), MayaFlux::Buffers::ComputeProcessor::set_manual_dispatch(), MayaFlux::Buffers::ComputeProcessor::set_workgroup_size(), and write_grid_extent_constants().
Here is the call graph for this function: