StructsΒ§
- Buffer
Pool πEntry - Current
Entry π - Draw π
- Holds all device-level resources that are needed to validate indirect draws.
- Draw
Batcher π - Accumulates all needed data needed to validate indirect draws.
- Draw
Indirect πValidation Batch - Draw
Resources π - Holds all command buffer-level resources that are needed to validate indirect draws.
- Metadata
Entry π - This must match the
MetadataEntrystruct used by the shader.
ConstantsΒ§
- BUFFER_
SIZE π - Note: This needs to be under:
FunctionsΒ§
- calculate_
src_ πbuffer_ binding_ size - Returns the largest binding size that when combined with dynamic offsets can address the whole buffer.
- calculate_
src_ πoffsets - Splits the given
offsetinto a dynamic offset & offset. - create_
bind_ πgroup_ layout - create_
buffer_ πand_ bind_ group - create_
validation_ πmodule - create_
validation_ πpipeline - u64_
offset_ πto_ u32_ offset - Indirect draw validation doesnβt support u64 offsets.