wgpu_hal::auxil

Constant MAX_I32_BINDING_SIZE

Source
pub const MAX_I32_BINDING_SIZE: u32 = _; // 2_147_483_648u32
Expand description

Maximum binding size for the shaders that only support i32 indexing. Interestingly, the index itself can’t reach that high, because the minimum element size is 4 bytes, but the compiler toolchain still computes the offset at some intermediate point, internally, as i32.