webgpu-native / webgpu-headers

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

Issues with representing some JS interfaces as C structs #279

Closed kainino0x closed 6 months ago

kainino0x commented 7 months ago

A few JS (WebIDL) interfaces are currently represented by C structs, namely: WGPUAdapterInfo, WGPUCompilationInfo/Message, WGPUSupportedLimits.

This doesn't match quite directly for a few reasons:

This issue is to consider whether this is a problem worth fixing. Off the top of my head it doesn't make sense for WGPUCompilationInfo/Message, but it might for the other two.

cc #266, #272, #260

kainino0x commented 7 months ago

Mar 7 meeting:

kainino0x commented 7 months ago

Mar 14 meeting:

kainino0x commented 6 months ago

Mar 28 meeting: