Modules§
Constants§
- MAX_
I32_ BINDING_ SIZE - Maximum binding size for the shaders that only support
i32indexing. 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.
Functions§
- cap_
limits_ to_ be_ under_ the_ sum_ limit - Evenly allocates space to each limit, capping them only if strictly necessary.
- map_
naga_ stage - Map a
naga::ShaderStageto the correspondingwgt::ShaderStagesflag.