Files
zed/crates/gpui_wgpu
Oleksiy Syvokon 924ac5c99b gpui_wgpu: Guard against device feature mismatch (#52820)
This should prevent the "wgpu-hal invariant was violated (usage error):
Requested feature is not available on this device" panic, although I'm
not 100% sure (there's a possibility that a device reports the feature
but fails to use it). At the very least, we get more logging

I've tested this fix by patching code to emulate a situation where
device features change after the creation, but that may be not
representative of the real world failure.


Addresses ZED-5G1

Release Notes:

- N/A
2026-03-31 20:08:20 +03:00
..
2026-02-26 18:36:50 +01:00