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

Add initial schema file #296

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sjfricke
Copy link

Created an entry in KhronosGroup/Khronos-Schemas#30 that would get pulled in first

Using the grammar file currently to generate things for SPIR-V tools has an issue of not even knowing what is valid to be in the grammar file. This PR is an attempt to create a schema for the grammar files.

I took inspiration from the https://github.com/KhronosGroup/Vulkan-Profiles usage of a schema file.

Has been tested on spirv.core.grammar.json and extinst.*.grammar.json

Happy to work out the details on how to make this logistically as simple as to not add a burden to future header releases

@dneto0 dneto0 self-requested a review August 16, 2023 18:56
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

Successfully merging this pull request may close these issues.

None yet

1 participant