-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking issue to write spec / explainers for native-specific parts of webgpu.h #25
Comments
I've created a new "needs docs" label which I'll try to add to everything that we're going to need to write docs/spec for. |
I didn't go through the closed issues though. There may be some which still need documentation and should have the label added. |
See discussion here #275 (comment) about having a "doc jam" to get the docs written |
Apr 11 meeting:
|
We still want to fill out the docs for everything (see last comment). The last item from the OP:
has a partial fix in #452, but ideally we should eventually write a doc that explains the patterns used to translate WebIDL to C. However! I am going to call both of these things |
Last item is now tracked in #484 instead! |
Most of the behavior of webgpu.h is the same as the WebGPU API (normative reference) but there's a couple places where webgpu.h has non-trivial differences with WebGPU, and it also has native-specific APIs. This is a tracking issue to create initial explainers / spec for these parts.
Things that are very different in native:
Instance / adapters and device creationnot very different anymore
Event loopFuturesCovered in
Asynchronous Operations.md
Ownership.md
probably sufficientThings that use callbacks (Futures) instead of promises:
should be sufficiently covered in
Asynchronous Operations.md
Fencedoesn't exist anymore
Other:
WGPUBindGroupBindingDescriptor
(no sum types in C)will get documented with Representation of GPUBindGroupLayoutEntry #438 / Representation of GPUBindGroupEntry #403
State that webgpu.h has the same behavior as the JS spec #452
but could use more docs still; tracked in:
Please document the relationship between webgpu.idl and webgpu.yml #484
2024-11-27: updates from @kainino0x in italics
The text was updated successfully, but these errors were encountered: