-
Notifications
You must be signed in to change notification settings - Fork 533
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 unifed1 headers from SPIRV-Headers #1195
Comments
Since we're ingesting only one version of JSON file, we should have a single set of tables to represent the grammar. We need to represent each token as either: Reserved, Conditional, or Universal. I plan to use the current representation of a token, but add a "min version" field so that:
Then you can have a total order for determining membership, where you select from SPV_ENV_UNIVERSAL_1_0, up through latest SPV_ENV_UNIVERSAL_1_2 and an internal-only "infinity" value. A target env of a client API, e.g. SPV_ENV_VULKAN_1_0 would map to representative value SPV_ENV_UNIVERSAL_1_0 for the purposes of comparison in this total order. |
PR #1244 updates the #include directives to use the unified directories. Still want to make unified grammar tables. |
#1413 implements this. |
Given #1413 landed, I'm going to close this as fixed. |
This is the way of the future.
It requires restructuring of grammar tables. I'm taking this one.
The text was updated successfully, but these errors were encountered: