Module auxil

Module auxil 

Source

Modules§

db
renderdoc 🔒 native and renderdoc
RenderDoc integration - https://renderdoc.org/

Constants§

MAX_I32_BINDING_SIZE
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.

Functions§

adjust_raw_limits 🔒
Adjust limits to honor HAL-imposed maximums and comply with WebGPU’s adapter capability guarantees.
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::ShaderStage to the corresponding wgt::ShaderStages flag.