Skip to content
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

Use webgpu.yml for parsing #460

Open
almarklein opened this issue Jan 31, 2024 · 3 comments
Open

Use webgpu.yml for parsing #460

almarklein opened this issue Jan 31, 2024 · 3 comments

Comments

@almarklein
Copy link
Member

As a replacement for webgpu.h (webgpu.h is now generated from the yaml). Probably best to wait until wgpu.yml is also ready. See webgpu-native/webgpu-headers#259 for details.

@Korijn
Copy link
Collaborator

Korijn commented Jan 31, 2024

From that thread:

I might go so far as to say - I'd like to author this in YAML, but downstream projects should consume the JSON instead, and if they add extensions as new files, they may choose to write the extension files as JSON instead of YAML.

Which would be great since we don't need a dep for json.

@almarklein
Copy link
Member Author

BTW we still need the header files for cffi. But we can ditch our manual h-parser code.

@almarklein
Copy link
Member Author

Note that this only benefits the C-API side. For our Python API we still need webgpu.idl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants