gfx-rs / wgpu-native

Native WebGPU implementation based on wgpu-core
Apache License 2.0
851 stars 98 forks source link

WGPUStorageTextureAccess missing access modes #324

Closed simeks closed 9 months ago

simeks commented 9 months ago

Hi!

I noticed WGPUStorageTextureAccess is missing read-write and read-only, which is part of the specification. Since these modes are available within the rust API already, is this something that just hasn't catched up or am I missing something?

Maybe this is better suited in https://github.com/webgpu-native/webgpu-headers?

rajveermalviya commented 9 months ago

Thanks for reporting this. It was added to the spec a ~month ago, the C header just hasn't caught up. Please file an issue/send a PR there.

simeks commented 9 months ago

Thank you for the quick reply, I've created a PR here now: https://github.com/webgpu-native/webgpu-headers/pull/250