Skip to content

Add initial schema file#296

Open
sjfricke wants to merge 1 commit into
KhronosGroup:mainfrom
sjfricke:sjfricke-schema
Open

Add initial schema file#296
sjfricke wants to merge 1 commit into
KhronosGroup:mainfrom
sjfricke:sjfricke-schema

Conversation

@sjfricke
Copy link
Copy Markdown

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.

1 participant