Bindings
@group(0)
@binding(7)
var<storage, read_write>
indirect_parameters_metadata:
array<IndirectParametersMetadata>
@group(0)
@binding(12)
var<storage, read_write>
late_preprocess_work_items:
array<PreprocessWorkItem>
@group(0)
@binding(13)
var<storage, read_write>
late_preprocess_work_item_indirect_parameters:
array<LatePreprocessWorkItemIndirectParameters>
@if(OCCLUSION_CULLING && LATE_PHASE)
@group(0)
@binding(13)
var<storage, read>
late_preprocess_work_item_indirect_parameters:
array<LatePreprocessWorkItemIndirectParameters>
Structures
The parameters for the indirect compute dispatch for the late mesh preprocessing phase.
These have to be in a structure because of Naga limitations on DX12.
Functions
@compute
Runs custom parallel code on the GPU, not limited to graphics
@workgroup_size(64)
Defines the size of a thread group. One to three numbers: width (x), height (y), and depth (z). Missing values default to 1
At the moment, this just consists of its axis-aligned bounding box (AABB).