Open kainino0x opened 1 year ago
Maybe this can be done on an ad-hoc basis, where, say, Dawn generates two versions of its C++ bindings - one for Dawn, and one for some unnamed snapshot of a subset of webgpu.h that we know is supported where we need it. So those bindings would just take an implicit dependency on whatever was in that snapshot.
Dec 21 meeting
webgpu.h is getting standardized, but will gain features over time. Meanwhile, language bindings like Dawn's C++ bindings will want to be portable over webgpu.h. But this means that if, say, Dawn's C and C++ headers gain feature X, but wgpu-native's C and the proposed Rust-on-C bindings gain feature Y, then those bindings layers won't be portable to the other implementation's C header.