I’m implementing a CAD engine for the browser using WebGPU. When my computer (mac m1) requests too much VRAM, it crashes the entire machine. I would like to handle this more gracefully. Is there a way to query memory consumption limits of the gpu_device? Is there a good rule of thumb?
I have looked in wgpu::limits, where I believe this info should be, but I didn’t see anything about it.