apply_hal_limits

Function apply_hal_limits 

Source
pub(crate) fn apply_hal_limits(limits: Limits) -> Limits
Expand description

Clamp the limits in limits to honor HAL-imposed maximums and WebGPU alignment requirements.

Other limits are left unchanged.