Skip to content

Generate from webgpu.yml #15

@eliemichel

Description

@eliemichel

The official repository of webgpu.h now provides a machine-processable version of webgpu.h, namely webgpu.yml.

Ultimately, we should generate this WebGPU wrapper directly from webgpu.yml, but this means dropping support for older versions that do not have a webgpu.yml coming with them. And more importantly, this is not possible yet because implem-specific version of webgpu.h that are used everywhere do not come with their own webgpu.yml for now.

One possibility would be to turn the current dirty scraper into a script that extracts a minimal webgpu.yml from any webgpu.h, then have the main generator script use either this reconstructed webgpu.yml or the official one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions