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
924ac5c99bOleksiy Syvokon committed on 3/31/2026, 5:08:20 PM· committed by GitHubparent7cf26f4
1 file changedLine totals unavailable