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.hpp11
vendored
30
external/vulkan/spirv.hpp11
vendored
|
|
@ -46,12 +46,12 @@ namespace spv {
|
|||
|
||||
typedef unsigned int Id;
|
||||
|
||||
#define SPV_VERSION 0x10000
|
||||
#define SPV_REVISION 6
|
||||
#define SPV_VERSION 0x10100
|
||||
#define SPV_REVISION 3
|
||||
|
||||
static const unsigned int MagicNumber = 0x07230203;
|
||||
static const unsigned int Version = 0x00010000;
|
||||
static const unsigned int Revision = 6;
|
||||
static const unsigned int Version = 0x00010100;
|
||||
static const unsigned int Revision = 3;
|
||||
static const unsigned int OpCodeMask = 0xffff;
|
||||
static const unsigned int WordCountShift = 16;
|
||||
|
||||
|
|
@ -121,6 +121,10 @@ enum class ExecutionMode : unsigned {
|
|||
OutputTriangleStrip = 29,
|
||||
VecTypeHint = 30,
|
||||
ContractionOff = 31,
|
||||
Initializer = 33,
|
||||
Finalizer = 34,
|
||||
SubgroupSize = 35,
|
||||
SubgroupsPerWorkgroup = 36,
|
||||
Max = 0x7fffffff,
|
||||
};
|
||||
|
||||
|
|
@ -374,6 +378,7 @@ enum class Decoration : unsigned {
|
|||
NoContraction = 42,
|
||||
InputAttachmentIndex = 43,
|
||||
Alignment = 44,
|
||||
MaxByteOffset = 45,
|
||||
Max = 0x7fffffff,
|
||||
};
|
||||
|
||||
|
|
@ -437,6 +442,8 @@ enum class SelectionControlMask : unsigned {
|
|||
enum class LoopControlShift : unsigned {
|
||||
Unroll = 0,
|
||||
DontUnroll = 1,
|
||||
DependencyInfinite = 2,
|
||||
DependencyLength = 3,
|
||||
Max = 0x7fffffff,
|
||||
};
|
||||
|
||||
|
|
@ -444,6 +451,8 @@ enum class LoopControlMask : unsigned {
|
|||
MaskNone = 0,
|
||||
Unroll = 0x00000001,
|
||||
DontUnroll = 0x00000002,
|
||||
DependencyInfinite = 0x00000004,
|
||||
DependencyLength = 0x00000008,
|
||||
};
|
||||
|
||||
enum class FunctionControlShift : unsigned {
|
||||
|
|
@ -594,6 +603,9 @@ enum class Capability : unsigned {
|
|||
StorageImageReadWithoutFormat = 55,
|
||||
StorageImageWriteWithoutFormat = 56,
|
||||
MultiViewport = 57,
|
||||
SubgroupDispatch = 58,
|
||||
NamedBarrier = 59,
|
||||
PipeStorage = 60,
|
||||
Max = 0x7fffffff,
|
||||
};
|
||||
|
||||
|
|
@ -892,6 +904,16 @@ enum class Op : unsigned {
|
|||
OpAtomicFlagTestAndSet = 318,
|
||||
OpAtomicFlagClear = 319,
|
||||
OpImageSparseRead = 320,
|
||||
OpSizeOf = 321,
|
||||
OpTypePipeStorage = 322,
|
||||
OpConstantPipeStorage = 323,
|
||||
OpCreatePipeFromPipeStorage = 324,
|
||||
OpGetKernelLocalSizeForSubgroupCount = 325,
|
||||
OpGetKernelMaxNumSubgroups = 326,
|
||||
OpTypeNamedBarrier = 327,
|
||||
OpNamedBarrierInitialize = 328,
|
||||
OpMemoryNamedBarrier = 329,
|
||||
OpModuleProcessed = 330,
|
||||
Max = 0x7fffffff,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue