Updated to header version 26
This commit is contained in:
parent
0798a8eef0
commit
1908a0f190
10 changed files with 339 additions and 36 deletions
30
external/vulkan/spirv.h
vendored
30
external/vulkan/spirv.h
vendored
|
|
@ -50,12 +50,12 @@
|
|||
|
||||
typedef unsigned int SpvId;
|
||||
|
||||
#define SPV_VERSION 0x10000
|
||||
#define SPV_REVISION 6
|
||||
#define SPV_VERSION 0x10100
|
||||
#define SPV_REVISION 3
|
||||
|
||||
static const unsigned int SpvMagicNumber = 0x07230203;
|
||||
static const unsigned int SpvVersion = 0x00010000;
|
||||
static const unsigned int SpvRevision = 6;
|
||||
static const unsigned int SpvVersion = 0x00010100;
|
||||
static const unsigned int SpvRevision = 3;
|
||||
static const unsigned int SpvOpCodeMask = 0xffff;
|
||||
static const unsigned int SpvWordCountShift = 16;
|
||||
|
||||
|
|
@ -125,6 +125,10 @@ typedef enum SpvExecutionMode_ {
|
|||
SpvExecutionModeOutputTriangleStrip = 29,
|
||||
SpvExecutionModeVecTypeHint = 30,
|
||||
SpvExecutionModeContractionOff = 31,
|
||||
SpvExecutionModeInitializer = 33,
|
||||
SpvExecutionModeFinalizer = 34,
|
||||
SpvExecutionModeSubgroupSize = 35,
|
||||
SpvExecutionModeSubgroupsPerWorkgroup = 36,
|
||||
SpvExecutionModeMax = 0x7fffffff,
|
||||
} SpvExecutionMode;
|
||||
|
||||
|
|
@ -378,6 +382,7 @@ typedef enum SpvDecoration_ {
|
|||
SpvDecorationNoContraction = 42,
|
||||
SpvDecorationInputAttachmentIndex = 43,
|
||||
SpvDecorationAlignment = 44,
|
||||
SpvDecorationMaxByteOffset = 45,
|
||||
SpvDecorationMax = 0x7fffffff,
|
||||
} SpvDecoration;
|
||||
|
||||
|
|
@ -441,6 +446,8 @@ typedef enum SpvSelectionControlMask_ {
|
|||
typedef enum SpvLoopControlShift_ {
|
||||
SpvLoopControlUnrollShift = 0,
|
||||
SpvLoopControlDontUnrollShift = 1,
|
||||
SpvLoopControlDependencyInfiniteShift = 2,
|
||||
SpvLoopControlDependencyLengthShift = 3,
|
||||
SpvLoopControlMax = 0x7fffffff,
|
||||
} SpvLoopControlShift;
|
||||
|
||||
|
|
@ -448,6 +455,8 @@ typedef enum SpvLoopControlMask_ {
|
|||
SpvLoopControlMaskNone = 0,
|
||||
SpvLoopControlUnrollMask = 0x00000001,
|
||||
SpvLoopControlDontUnrollMask = 0x00000002,
|
||||
SpvLoopControlDependencyInfiniteMask = 0x00000004,
|
||||
SpvLoopControlDependencyLengthMask = 0x00000008,
|
||||
} SpvLoopControlMask;
|
||||
|
||||
typedef enum SpvFunctionControlShift_ {
|
||||
|
|
@ -598,6 +607,9 @@ typedef enum SpvCapability_ {
|
|||
SpvCapabilityStorageImageReadWithoutFormat = 55,
|
||||
SpvCapabilityStorageImageWriteWithoutFormat = 56,
|
||||
SpvCapabilityMultiViewport = 57,
|
||||
SpvCapabilitySubgroupDispatch = 58,
|
||||
SpvCapabilityNamedBarrier = 59,
|
||||
SpvCapabilityPipeStorage = 60,
|
||||
SpvCapabilityMax = 0x7fffffff,
|
||||
} SpvCapability;
|
||||
|
||||
|
|
@ -896,6 +908,16 @@ typedef enum SpvOp_ {
|
|||
SpvOpAtomicFlagTestAndSet = 318,
|
||||
SpvOpAtomicFlagClear = 319,
|
||||
SpvOpImageSparseRead = 320,
|
||||
SpvOpSizeOf = 321,
|
||||
SpvOpTypePipeStorage = 322,
|
||||
SpvOpConstantPipeStorage = 323,
|
||||
SpvOpCreatePipeFromPipeStorage = 324,
|
||||
SpvOpGetKernelLocalSizeForSubgroupCount = 325,
|
||||
SpvOpGetKernelMaxNumSubgroups = 326,
|
||||
SpvOpTypeNamedBarrier = 327,
|
||||
SpvOpNamedBarrierInitialize = 328,
|
||||
SpvOpMemoryNamedBarrier = 329,
|
||||
SpvOpModuleProcessed = 330,
|
||||
SpvOpMax = 0x7fffffff,
|
||||
} SpvOp;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue