pub const MAX_I32_BINDING_SIZE: u32 = 1 << 31; // 0x8000_0000u32
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.