Add support for WGPU native features
As the title says it would be good to add support for the features / extensions WGPU adds on top of WebGPU for example push constants. It looks like only TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES has been mapped.
Update: we now have:
WGPUNativeFeature_PushConstants = 0x60000001,
WGPUNativeFeature_TextureAdapterSpecificFormatFeatures = 0x60000002,
WGPUNativeFeature_MultiDrawIndirect = 0x60000003,
WGPUNativeFeature_MultiDrawIndirectCount = 0x60000004,
WGPUNativeFeature_VertexWritableStorage = 0x60000005,
But that does not seem to be the complete set of native features as specified on https://docs.rs/wgpu/latest/wgpu/struct.Features.html
I would like to work on this. Is there a specific convention or order for each native feature?
I'd say follow wgpu-core in case of doubt.
I believe the current order doesn't match wgpu-core.