BUFFER_SIZE

Constant BUFFER_SIZE 

Source
const BUFFER_SIZE: BufferSize;
Expand description

Note: This needs to be under:

default max_compute_workgroups_per_dimension * size_of::wgt::DrawIndirectArgs() * workgroup_size used by the shader

= (2^16 - 1) * 2^4 * 2^6

It is currently set to:

= (2^16 - 1) * 2^4

This is enough space for:

  • 65535 [wgt::DrawIndirectArgs] / MetadataEntry
  • 52428 [wgt::DrawIndexedIndirectArgs]