webgpu-native / webgpu-headers

https://webgpu-native.github.io/webgpu-headers/
BSD 3-Clause "New" or "Revised" License
370 stars 43 forks source link

Remove emscripten-only extension; slightly reorder SType #320

Closed kainino0x closed 4 weeks ago

kainino0x commented 1 month ago

Emscripten will keep this (under the new name) but it's not "standardized" in this header yet.

All of the SurfaceSource extensions are going to get moved into the 0x0001_???? block (they're already moved in Dawn but we haven't moved them in here yet).

So reordering these puts the other 3 STypes in the exact positions I think they'll be when the header becomes stable.

Issue: https://github.com/webgpu-native/webgpu-headers/issues/214#issuecomment-2237722493

beaufortfrancois commented 1 month ago

Out of curiosity, what was the logic for reordering SType?

kainino0x commented 4 weeks ago

All of the SurfaceSource extensions are going to get moved into the 0x0001_???? block (they're already moved in Dawn but we haven't moved them in here yet).

So reordering these puts the other 3 STypes in the exact positions I think they'll be when the header becomes stable.