pub fn device_limits(adapter: &Adapter) -> LimitsExpand description
Returns the device limits a renderer’s device should be created with.
Vello’s internal storage buffers can outgrow the default limits of 128
MiB for one storage binding and 256 MiB for one buffer on large scenes,
and a device created with the defaults then fails validation. The
request raises both to what the adapter offers and leaves every other
limit at its default. A device for GpuRenderer::new or
GpuSurface::new should be requested with
these limits.