fn adapter_allowed(
flags: InstanceFlags,
info: &impl Debug,
limits: &Limits,
downlevel: &DownlevelCapabilities,
) -> boolExpand description
This function checks that the adapter obeys WebGPU’s adapter capability
guarantees. Most of the limits are adjusted in wgpu-hal’s
adjust_raw_limits fn. So we only check the remaining properties here.
See https://gpuweb.github.io/gpuweb/#adapter-capability-guarantees.