mirror of
https://gitee.com/openharmony/third_party_spirv-tools
synced 2024-11-27 01:21:25 +00:00
Updated spirv.h header. Fixes SPV_VERSION macro
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.
This commit is contained in:
parent
3a4bc7e61a
commit
3958c90277
2
external/include/headers/spirv.h
vendored
2
external/include/headers/spirv.h
vendored
@ -50,7 +50,7 @@
|
||||
|
||||
typedef unsigned int SpvId;
|
||||
|
||||
#define SPV_VERSION 10000
|
||||
#define SPV_VERSION 0x10000
|
||||
#define SPV_REVISION 2
|
||||
|
||||
static const unsigned int SpvMagicNumber = 0x07230203;
|
||||
|
Loading…
Reference in New Issue
Block a user