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

Update external headers. #5

Merged
merged 1 commit into from
Nov 17, 2015
Merged

Conversation

antiagainst
Copy link
Contributor

Now use the headers published at
https://www.khronos.org/registry/spir-v/api/1.0/.

@@ -50,12 +50,12 @@

typedef unsigned int SpvId;

#define SPV_VERSION 100
#define SPV_REVISION 1
#define SPV_VERSION 10000
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gah. Should file an issue upstream to indicate this likely should be a hex value ?
I believe the "1" part of it should be mapping to the upper 16 bits of the generator word.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. Looking at the version word in the SPIR-V spec, it seems this should be hex and occupy the entire 32-bits of the version word.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right... It's interesting to see that SpvVersion (L57, which we actually use) is defined correctly.

@dneto0
Copy link
Collaborator

dneto0 commented Nov 17, 2015

This change is good, but I think upstream is wrong. :-)
+2

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.

2 participants