gfx-rs / wgpu-native

Native WebGPU implementation based on wgpu-core
Apache License 2.0
843 stars 96 forks source link

Add 16bit norm and NV12 textures #395

Closed davnotdev closed 1 month ago

davnotdev commented 2 months ago

Features::TEXTURE_FORMAT_16BIT_NORM and Features::TEXTURE_FORMAT_NV12 are currently exposed as native features. This PR adds a new enum WGPUTextureFormatExtras which will make the texture formats of the mentioned features accessible.