Bindings
Active when
INDIRECT
@group(0)
@binding(7)
var<storage>
indirect_parameters_cpu_metadata:
array<IndirectParametersCpuMetadata>
Active when
INDIRECT
@group(0)
@binding(8)
var<storage, read_write>
indirect_parameters_gpu_metadata:
array<IndirectParametersGpuMetadata>
Active when
FRUSTUM_CULLING
Active when
OCCLUSION_CULLING
Active when
OCCLUSION_CULLING
AND
EARLY_PHASE
@group(0)
@binding(11)
var<storage, read_write>
late_preprocess_work_items:
array<PreprocessWorkItem>
Active when
OCCLUSION_CULLING
@group(0)
@binding(12)
var<storage, read_write>
late_preprocess_work_item_indirect_parameters:
array<LatePreprocessWorkItemIndirectParameters>
Structures
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).