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

Updated spirv.h header. Fixes SPV_VERSION macro #15

Merged
merged 1 commit into from
Nov 19, 2015

Conversation

dneto0
Copy link
Collaborator

@dneto0 dneto0 commented Nov 19, 2015

Use the new spirv.h from the SPIR-V registry.

The SPV_VERSION macro value was updated to be 0x10000.
Previously it was missing the "0x" prefix, which caused
confusion.

The value of the const unsigned int SpvVersion has always
been 0x00010000. That's what should appear as the version
word in the SPIR-V header.

The SPV_VERSION symbol is to be used in preprocessor directives.

@AWoloszyn
Copy link
Contributor

+2

The SPV_VERSION macro value was updated to be 0x10000.
Previously it was missing the "0x" prefix, which caused
confusion.

The value of the const unsigned int SpvVersion has always
been 0x00010000.  That's what should appear as the version
word in the SPIR-V header.

The SPV_VERSION symbol is to be used in preprocessor directives.
@dneto0
Copy link
Collaborator Author

dneto0 commented Nov 19, 2015

Rebased

@dneto0 dneto0 merged commit 3958c90 into KhronosGroup:master Nov 19, 2015
@dneto0 dneto0 deleted the update-spirv-h branch November 19, 2015 14:58
robclark pushed a commit to freedreno/SPIRV-LLVM that referenced this pull request Jan 26, 2018
The specification defines the version number as

> 0 | Major Number | Minor Number | 0

which results in version `1.00` being defined as `0x00010000`. The previous
value was set to `10000`, resulting in `0x00002710`.

See: KhronosGroup/SPIRV-Tools#15
Hopetech pushed a commit to Hopetech/SPIRV-LLVM-Tools that referenced this pull request Feb 23, 2018
The specification defines the version number as

> 0 | Major Number | Minor Number | 0

which results in version `1.00` being defined as `0x00010000`. The previous
value was set to `10000`, resulting in `0x00002710`.

See: KhronosGroup/SPIRV-Tools#15
AlexeySotkin pushed a commit to AlexeySotkin/SPIRV-LLVM that referenced this pull request Mar 12, 2018
The specification defines the version number as

> 0 | Major Number | Minor Number | 0

which results in version `1.00` being defined as `0x00010000`. The previous
value was set to `10000`, resulting in `0x00002710`.

See: KhronosGroup/SPIRV-Tools#15
Hopetech pushed a commit to Hopetech/SPIRV-LLVM-Tools that referenced this pull request Mar 22, 2018
The specification defines the version number as

> 0 | Major Number | Minor Number | 0

which results in version `1.00` being defined as `0x00010000`. The previous
value was set to `10000`, resulting in `0x00002710`.

See: KhronosGroup/SPIRV-Tools#15
AlexeySotkin pushed a commit to AlexeySotkin/SPIRV-LLVM that referenced this pull request Apr 3, 2018
The specification defines the version number as

> 0 | Major Number | Minor Number | 0

which results in version `1.00` being defined as `0x00010000`. The previous
value was set to `10000`, resulting in `0x00002710`.

See: KhronosGroup/SPIRV-Tools#15
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