gfx-rs/wgpu-native

Missing default value in enums

menduz opened this issue · 1 comments

Hello there, I'm developing a code generator for Zig, and int-based-enums are required to have a valid empty state for the value 0. Since webgpu-native/webgpu-headers@61dd498 there are no more 0 values in enums. For the moment, I'm adding back a manual ".undefined = 0" to all my enums not starting with 0.

Feel free to close this issue after reading, its intent is to provide a heads up

Sorry, wrong tab!