Updated spirv-headers.

This commit is contained in:
Бранимир Караџић
2024-12-28 22:40:47 -08:00
parent eb31b53dcd
commit af34836458
5 changed files with 2265 additions and 1581 deletions

View File

@@ -96,7 +96,8 @@
<id value="43" vendor="LLVM" tool="LLVM SPIR-V Backend" comment="Contact Michal Paszkowski, michal.paszkowski@intel.com, https://github.com/llvm/llvm-project/tree/main/llvm/lib/Target/SPIRV"/>
<id value="44" vendor="Robert Konrad" tool="Kongruent" comment="Contact Robert Konrad, https://github.com/Kode/Kongruent"/>
<id value="45" vendor="Kitsunebi Games" tool="Nuvk SPIR-V Emitter and DLSL compiler" comment="Contact Luna Nielsen, luna@foxgirls.gay, https://github.com/Inochi2D/nuvk"/>
<unused start="46" end="0xFFFF" comment="Tool ID range reservable for future use by vendors"/>
<id value="46" vendor="Nintendo" comment="Contact Steve Urquhart, steve.urquhart@ntd.nintendo.com"/>
<unused start="47" end="0xFFFF" comment="Tool ID range reservable for future use by vendors"/>
</ids>
<!-- SECTION: SPIR-V Opcodes and Enumerants -->

View File

@@ -4450,6 +4450,7 @@
"capabilities" : [
"UntypedPointersKHR"
],
"provisional" : true,
"version" : "None",
"operands" : [
{ "kind" : "IdResult" },
@@ -4461,6 +4462,7 @@
"class" : "Memory",
"opcode" : 4418,
"capabilities" : [ "UntypedPointersKHR" ],
"provisional" : true,
"version" : "None",
"operands" : [
{ "kind" : "IdResultType" },
@@ -4475,6 +4477,7 @@
"class" : "Memory",
"opcode" : 4419,
"capabilities" : [ "UntypedPointersKHR" ],
"provisional" : true,
"version" : "None",
"operands" : [
{ "kind" : "IdResultType" },
@@ -4489,6 +4492,7 @@
"class" : "Memory",
"opcode" : 4420,
"capabilities" : [ "UntypedPointersKHR" ],
"provisional" : true,
"version" : "None",
"operands" : [
{ "kind" : "IdResultType" },
@@ -4529,6 +4533,7 @@
"class" : "Memory",
"opcode" : 4423,
"capabilities" : [ "UntypedPointersKHR" ],
"provisional" : true,
"version" : "None",
"operands" : [
{ "kind" : "IdResultType" },
@@ -4544,6 +4549,7 @@
"class" : "Memory",
"opcode" : 4424,
"capabilities" : [ "UntypedPointersKHR" ],
"provisional" : true,
"version" : "None",
"operands" : [
{ "kind" : "IdResultType" },
@@ -4559,6 +4565,7 @@
"class" : "Memory",
"opcode" : 4425,
"capabilities" : [ "UntypedPointersKHR" ],
"provisional" : true,
"version" : "None",
"operands" : [
{ "kind" : "IdResultType" },
@@ -4573,6 +4580,7 @@
"class" : "Memory",
"opcode" : 4426,
"capabilities" : [ "UntypedPointersKHR" ],
"provisional" : true,
"version" : "None",
"operands" : [
{ "kind" : "IdRef", "name" : "'Pointer Type'" },
@@ -5373,6 +5381,7 @@
{ "kind" : "IdRef", "name": "'Node Index'" }
],
"capabilities" : [ "ShaderEnqueueAMDX" ],
"provisional" : true,
"version" : "None"
},
{
@@ -5383,6 +5392,7 @@
{ "kind" : "IdRef", "name": "'Payload Array'" }
],
"capabilities" : [ "ShaderEnqueueAMDX" ],
"provisional" : true,
"version" : "None"
},
{
@@ -5394,6 +5404,7 @@
{ "kind" : "IdRef", "name": "'Payload Type'" }
],
"capabilities" : [ "ShaderEnqueueAMDX" ],
"provisional" : true,
"version" : "None"
},
{
@@ -5406,6 +5417,7 @@
{ "kind" : "IdRef", "name": "'Payload'" }
],
"capabilities" : [ "ShaderEnqueueAMDX" ],
"provisional" : true,
"version" : "None"
},
{
@@ -5418,6 +5430,7 @@
{ "kind" : "IdRef", "name": "'Payload Array'" }
],
"capabilities" : [ "ShaderEnqueueAMDX" ],
"provisional" : true,
"version" : "None"
},
{
@@ -5431,6 +5444,7 @@
{ "kind" : "IdRef", "name": "'Node Index'" }
],
"capabilities" : [ "ShaderEnqueueAMDX" ],
"provisional" : true,
"version": "None"
},
{
@@ -5442,6 +5456,7 @@
{ "kind" : "LiteralString", "name": "'Literal String'" }
],
"capabilities" : [ "ShaderEnqueueAMDX" ],
"provisional" : true,
"version": "None"
},
{
@@ -5453,6 +5468,7 @@
{ "kind" : "LiteralString", "name": "'Literal String'" }
],
"capabilities" : [ "ShaderEnqueueAMDX" ],
"provisional" : true,
"version": "None"
},
{
@@ -5951,6 +5967,18 @@
"extensions" : [ "SPV_NV_shader_image_footprint" ],
"version" : "None"
},
{
"opname" : "OpCooperativeMatrixConvertNV",
"class" : "Conversion",
"opcode" : 5293,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{ "kind" : "IdRef", "name" : "'Matrix'" }
],
"capabilities" : [ "CooperativeMatrixConversionsNV" ],
"version" : "None"
},
{
"opname" : "OpEmitMeshTasksEXT",
"class" : "Reserved",
@@ -6265,6 +6293,195 @@
"extensions" : [ "SPV_EXT_fragment_shader_interlock" ],
"version" : "None"
},
{
"opname" : "OpCooperativeMatrixReduceNV",
"class" : "Arithmetic",
"opcode" : 5366,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{ "kind" : "IdRef", "name" : "'Matrix'" },
{ "kind" : "CooperativeMatrixReduce", "name" : "'Reduce'" },
{ "kind" : "IdRef", "name" : "'CombineFunc'" }
],
"capabilities" : [ "CooperativeMatrixReductionsNV" ],
"version" : "None"
},
{
"opname" : "OpCooperativeMatrixLoadTensorNV",
"class" : "Memory",
"opcode" : 5367,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{ "kind" : "IdRef", "name" : "'Pointer'" },
{ "kind" : "IdRef", "name" : "'Object'" },
{ "kind" : "IdRef", "name" : "'TensorLayout'" },
{ "kind" : "MemoryAccess", "name" : "'Memory Operand'"},
{ "kind" : "TensorAddressingOperands", "name" : "'Tensor Addressing Operands'"}
],
"capabilities" : [ "CooperativeMatrixTensorAddressingNV" ],
"version" : "None"
},
{
"opname" : "OpCooperativeMatrixStoreTensorNV",
"class" : "Memory",
"opcode" : 5368,
"operands" : [
{ "kind" : "IdRef", "name" : "'Pointer'" },
{ "kind" : "IdRef", "name" : "'Object'" },
{ "kind" : "IdRef", "name" : "'TensorLayout'" },
{ "kind" : "MemoryAccess", "name" : "'Memory Operand'"},
{ "kind" : "TensorAddressingOperands", "name" : "'Tensor Addressing Operands'"}
],
"capabilities" : [ "CooperativeMatrixTensorAddressingNV" ],
"version" : "None"
},
{
"opname" : "OpCooperativeMatrixPerElementOpNV",
"class" : "Function",
"opcode" : 5369,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{ "kind" : "IdRef", "name" : "'Matrix'" },
{ "kind" : "IdRef", "name" : "'Func'" },
{ "kind" : "IdRef", "quantifier" : "*", "name" : "'Operands'" }
],
"capabilities" : [ "CooperativeMatrixPerElementOperationsNV" ],
"version" : "None"
},
{
"opname" : "OpTypeTensorLayoutNV",
"class" : "Type-Declaration",
"opcode" : 5370,
"operands" : [
{ "kind" : "IdResult" },
{ "kind" : "IdRef", "name" : "'Dim'" },
{ "kind" : "IdRef", "name" : "'ClampMode'" }
],
"capabilities" : [ "TensorAddressingNV" ],
"version" : "None"
},
{
"opname" : "OpTypeTensorViewNV",
"class" : "Type-Declaration",
"opcode" : 5371,
"operands" : [
{ "kind" : "IdResult" },
{ "kind" : "IdRef", "name" : "'Dim'" },
{ "kind" : "IdRef", "name" : "'HasDimensions'" },
{ "kind" : "IdRef", "quantifier" : "*", "name" : "'p'" }
],
"capabilities" : [ "TensorAddressingNV" ],
"version" : "None"
},
{
"opname" : "OpCreateTensorLayoutNV",
"class" : "Reserved",
"opcode" : 5372,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" }
],
"capabilities" : [ "TensorAddressingNV" ],
"version" : "None"
},
{
"opname" : "OpTensorLayoutSetDimensionNV",
"class" : "Reserved",
"opcode" : 5373,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{ "kind" : "IdRef", "name" : "'TensorLayout'" },
{ "kind" : "IdRef", "quantifier" : "*", "name" : "'Dim'" }
],
"capabilities" : [ "TensorAddressingNV" ],
"version" : "None"
},
{
"opname" : "OpTensorLayoutSetStrideNV",
"class" : "Reserved",
"opcode" : 5374,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{ "kind" : "IdRef", "name" : "'TensorLayout'" },
{ "kind" : "IdRef", "quantifier" : "*", "name" : "'Stride'" }
],
"capabilities" : [ "TensorAddressingNV" ],
"version" : "None"
},
{
"opname" : "OpTensorLayoutSliceNV",
"class" : "Reserved",
"opcode" : 5375,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{ "kind" : "IdRef", "name" : "'TensorLayout'" },
{ "kind" : "IdRef", "quantifier" : "*", "name" : "'Operands'" }
],
"capabilities" : [ "TensorAddressingNV" ],
"version" : "None"
},
{
"opname" : "OpTensorLayoutSetClampValueNV",
"class" : "Reserved",
"opcode" : 5376,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{ "kind" : "IdRef", "name" : "'TensorLayout'" },
{ "kind" : "IdRef", "name" : "'Value'" }
],
"capabilities" : [ "TensorAddressingNV" ],
"version" : "None"
},
{
"opname" : "OpCreateTensorViewNV",
"class" : "Reserved",
"opcode" : 5377,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" }
],
"capabilities" : [ "TensorAddressingNV" ],
"version" : "None"
},
{
"opname" : "OpTensorViewSetDimensionNV",
"class" : "Reserved",
"opcode" : 5378,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{ "kind" : "IdRef", "name" : "'TensorView'" },
{ "kind" : "IdRef", "quantifier" : "*", "name" : "'Dim'" }
],
"capabilities" : [ "TensorAddressingNV" ],
"version" : "None"
},
{
"opname" : "OpTensorViewSetStrideNV",
"class" : "Reserved",
"opcode" : 5379,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{ "kind" : "IdRef", "name" : "'TensorView'" },
{ "kind" : "IdRef", "quantifier" : "*", "name" : "'Stride'" }
],
"capabilities" : [ "TensorAddressingNV" ],
"version" : "None"
},
{
"opname" : "OpDemoteToHelperInvocation",
"class" : "Control-Flow",
@@ -6285,6 +6502,48 @@
"extensions" : [ "SPV_EXT_demote_to_helper_invocation" ],
"version" : "None"
},
{
"opname" : "OpTensorViewSetClipNV",
"class" : "Reserved",
"opcode" : 5382,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{ "kind" : "IdRef", "name" : "'TensorView'" },
{ "kind" : "IdRef", "name" : "'ClipRowOffset'" },
{ "kind" : "IdRef", "name" : "'ClipRowSpan'" },
{ "kind" : "IdRef", "name" : "'ClipColOffset'" },
{ "kind" : "IdRef", "name" : "'ClipColSpan'" }
],
"capabilities" : [ "TensorAddressingNV" ],
"version" : "None"
},
{
"opname" : "OpTensorLayoutSetBlockSizeNV",
"class" : "Reserved",
"opcode" : 5384,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{ "kind" : "IdRef", "name" : "'TensorLayout'" },
{ "kind" : "IdRef", "quantifier" : "*", "name" : "'BlockSize'" }
],
"capabilities" : [ "TensorAddressingNV" ],
"version" : "None"
},
{
"opname" : "OpCooperativeMatrixTransposeNV",
"class" : "Conversion",
"opcode" : 5390,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{ "kind" : "IdRef", "name" : "'Matrix'" }
],
"capabilities" : [ "CooperativeMatrixConversionsNV" ],
"version" : "None"
},
{
"opname" : "OpConvertUToImageNV",
"class" : "Reserved",
@@ -11367,6 +11626,7 @@
"enumerant" : "CoalescingAMDX",
"value" : 5069,
"capabilities" : [ "ShaderEnqueueAMDX" ],
"provisional" : true,
"version" : "None"
},
{
@@ -11376,6 +11636,7 @@
"parameters" : [
{ "kind" : "IdRef", "name" : "'Is Entry'" }
],
"provisional" : true,
"version" : "None"
},
{
@@ -11385,6 +11646,7 @@
"parameters" : [
{ "kind" : "IdRef", "name" : "'Number of recursions'" }
],
"provisional" : true,
"version" : "None"
},
{
@@ -11396,6 +11658,7 @@
{ "kind" : "IdRef", "name" : "'y size'" },
{ "kind" : "IdRef", "name" : "'z size'" }
],
"provisional" : true,
"version" : "None"
},
{
@@ -11405,6 +11668,7 @@
"parameters" : [
{ "kind" : "IdRef", "name" : "'Shader Index'" }
],
"provisional" : true,
"version" : "None"
},
{
@@ -11416,6 +11680,7 @@
{ "kind" : "IdRef", "name" : "'y size'" },
{ "kind" : "IdRef", "name" : "'z size'" }
],
"provisional" : true,
"version" : "None"
},
{
@@ -11480,6 +11745,7 @@
{ "kind" : "IdRef", "name" : "'Node Name'" },
{ "kind" : "IdRef", "name" : "'Shader Index'" }
],
"provisional" : true,
"version" : "None"
},
{
@@ -11823,6 +12089,7 @@
"enumerant" : "NodePayloadAMDX",
"value" : 5068,
"capabilities" : [ "ShaderEnqueueAMDX" ],
"provisional" : true,
"version" : "None"
},
{
@@ -13166,6 +13433,7 @@
"parameters" : [
{ "kind" : "IdRef", "name" : "'Payload Type'" }
],
"provisional" : true,
"version" : "None"
},
{
@@ -13175,12 +13443,14 @@
"parameters" : [
{ "kind" : "IdRef", "name" : "'Max number of payloads'" }
],
"provisional" : true,
"version" : "None"
},
{
"enumerant" : "TrackFinishWritingAMDX",
"value" : 5078,
"capabilities" : [ "ShaderEnqueueAMDX" ],
"provisional" : true,
"version" : "None"
},
{
@@ -13190,6 +13460,7 @@
"parameters" : [
{ "kind" : "IdRef", "name" : "'Node Name'" }
],
"provisional" : true,
"version" : "None"
},
{
@@ -13199,12 +13470,14 @@
"parameters" : [
{ "kind" : "IdRef", "name" : "'Base Index'" }
],
"provisional" : true,
"version" : "None"
},
{
"enumerant" : "PayloadNodeSparseArrayAMDX",
"value" : 5099,
"capabilities" : [ "ShaderEnqueueAMDX" ],
"provisional" : true,
"version" : "None"
},
{
@@ -13214,12 +13487,14 @@
"parameters" : [
{ "kind" : "IdRef", "name" : "'Array Size'" }
],
"provisional" : true,
"version" : "None"
},
{
"enumerant" : "PayloadDispatchIndirectAMDX",
"value" : 5105,
"capabilities" : [ "ShaderEnqueueAMDX" ],
"provisional" : true,
"version" : "None"
},
{
@@ -14301,12 +14576,14 @@
"enumerant" : "RemainingRecursionLevelsAMDX",
"value" : 5021,
"capabilities" : [ "ShaderEnqueueAMDX" ],
"provisional" : true,
"version" : "None"
},
{
"enumerant" : "ShaderIndexAMDX",
"value" : 5073,
"capabilities" : [ "ShaderEnqueueAMDX" ],
"provisional" : true,
"version" : "None"
},
{
@@ -15397,6 +15674,7 @@
"enumerant" : "UntypedPointersKHR",
"value" : 4473,
"extensions" : [ "SPV_KHR_untyped_pointers" ],
"provisional" : true,
"version" : "None"
},
{
@@ -15490,6 +15768,7 @@
"value" : 5067,
"capabilities" : [ "Shader" ],
"extensions" : [ "SPV_AMDX_shader_enqueue" ],
"provisional" : true,
"version" : "None"
},
{
@@ -15847,6 +16126,42 @@
"extensions" : [ "SPV_NV_raw_access_chains" ],
"version" : "None"
},
{
"enumerant" : "CooperativeMatrixReductionsNV",
"value" : 5430,
"extensions" : [ "SPV_NV_cooperative_matrix2" ],
"version" : "None"
},
{
"enumerant" : "CooperativeMatrixConversionsNV",
"value" : 5431,
"extensions" : [ "SPV_NV_cooperative_matrix2" ],
"version" : "None"
},
{
"enumerant" : "CooperativeMatrixPerElementOperationsNV",
"value" : 5432,
"extensions" : [ "SPV_NV_cooperative_matrix2" ],
"version" : "None"
},
{
"enumerant" : "CooperativeMatrixTensorAddressingNV",
"value" : 5433,
"extensions" : [ "SPV_NV_cooperative_matrix2" ],
"version" : "None"
},
{
"enumerant" : "CooperativeMatrixBlockLoadsNV",
"value" : 5434,
"extensions" : [ "SPV_NV_cooperative_matrix2" ],
"version" : "None"
},
{
"enumerant" : "TensorAddressingNV",
"value" : 5439,
"extensions" : [ "SPV_NV_tensor_addressing" ],
"version" : "None"
},
{
"enumerant" : "SubgroupShuffleINTEL",
"value" : 5568,
@@ -16455,6 +16770,87 @@
}
]
},
{
"category" : "BitEnum",
"kind" : "CooperativeMatrixReduce",
"enumerants" : [
{
"enumerant" : "Row",
"value" : "0x0001",
"version" : "None"
},
{
"enumerant" : "Column",
"value" : "0x0002",
"version" : "None"
},
{
"enumerant" : "2x2",
"value" : "0x0004",
"version" : "None"
}
]
},
{
"category" : "ValueEnum",
"kind" : "TensorClampMode",
"enumerants" : [
{
"enumerant" : "Undefined",
"value" : 0,
"version": "None"
},
{
"enumerant" : "Constant",
"value" : 1,
"version": "None"
},
{
"enumerant" : "ClampToEdge",
"value" : 2,
"version": "None"
},
{
"enumerant" : "Repeat",
"value" : 3,
"version": "None"
},
{
"enumerant" : "RepeatMirrored",
"value" : 4,
"version": "None"
}
]
},
{
"category" : "BitEnum",
"kind" : "TensorAddressingOperands",
"enumerants" : [
{
"enumerant" : "None",
"value" : "0x0000",
"version" : "None"
},
{
"enumerant" : "TensorView",
"value" : "0x0001",
"parameters" : [
{ "kind" : "IdRef" }
],
"capabilities" : [ "CooperativeMatrixTensorAddressingNV" ],
"version" : "None"
},
{
"enumerant" : "DecodeFunc",
"value" : "0x0002",
"parameters" : [
{ "kind" : "IdRef" }
],
"capabilities" : [ "CooperativeMatrixBlockLoadsNV" ],
"version" : "None"
}
]
},
{
"category" : "ValueEnum",
"kind" : "InitializationModeQualifier",

View File

@@ -13,7 +13,7 @@
**
** MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS KHRONOS
** STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS SPECIFICATIONS AND
** HEADER INFORMATION ARE LOCATED AT https://www.khronos.org/registry/
** HEADER INFORMATION ARE LOCATED AT https://www.khronos.org/registry/
**
** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
** OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
@@ -1174,6 +1174,12 @@ typedef enum SpvCapability_ {
SpvCapabilityAtomicFloat16VectorNV = 5404,
SpvCapabilityRayTracingDisplacementMicromapNV = 5409,
SpvCapabilityRawAccessChainsNV = 5414,
SpvCapabilityCooperativeMatrixReductionsNV = 5430,
SpvCapabilityCooperativeMatrixConversionsNV = 5431,
SpvCapabilityCooperativeMatrixPerElementOperationsNV = 5432,
SpvCapabilityCooperativeMatrixTensorAddressingNV = 5433,
SpvCapabilityCooperativeMatrixBlockLoadsNV = 5434,
SpvCapabilityTensorAddressingNV = 5439,
SpvCapabilitySubgroupShuffleINTEL = 5568,
SpvCapabilitySubgroupBufferBlockIOINTEL = 5569,
SpvCapabilitySubgroupImageBlockIOINTEL = 5570,
@@ -1391,6 +1397,41 @@ typedef enum SpvCooperativeMatrixUse_ {
SpvCooperativeMatrixUseMax = 0x7fffffff,
} SpvCooperativeMatrixUse;
typedef enum SpvCooperativeMatrixReduceShift_ {
SpvCooperativeMatrixReduceRowShift = 0,
SpvCooperativeMatrixReduceColumnShift = 1,
SpvCooperativeMatrixReduce2x2Shift = 2,
SpvCooperativeMatrixReduceMax = 0x7fffffff,
} SpvCooperativeMatrixReduceShift;
typedef enum SpvCooperativeMatrixReduceMask_ {
SpvCooperativeMatrixReduceMaskNone = 0,
SpvCooperativeMatrixReduceRowMask = 0x00000001,
SpvCooperativeMatrixReduceColumnMask = 0x00000002,
SpvCooperativeMatrixReduce2x2Mask = 0x00000004,
} SpvCooperativeMatrixReduceMask;
typedef enum SpvTensorClampMode_ {
SpvTensorClampModeUndefined = 0,
SpvTensorClampModeConstant = 1,
SpvTensorClampModeClampToEdge = 2,
SpvTensorClampModeRepeat = 3,
SpvTensorClampModeRepeatMirrored = 4,
SpvTensorClampModeMax = 0x7fffffff,
} SpvTensorClampMode;
typedef enum SpvTensorAddressingOperandsShift_ {
SpvTensorAddressingOperandsTensorViewShift = 0,
SpvTensorAddressingOperandsDecodeFuncShift = 1,
SpvTensorAddressingOperandsMax = 0x7fffffff,
} SpvTensorAddressingOperandsShift;
typedef enum SpvTensorAddressingOperandsMask_ {
SpvTensorAddressingOperandsMaskNone = 0,
SpvTensorAddressingOperandsTensorViewMask = 0x00000001,
SpvTensorAddressingOperandsDecodeFuncMask = 0x00000002,
} SpvTensorAddressingOperandsMask;
typedef enum SpvInitializationModeQualifier_ {
SpvInitializationModeQualifierInitOnDeviceReprogramINTEL = 0,
SpvInitializationModeQualifierInitOnDeviceResetINTEL = 1,
@@ -1903,6 +1944,7 @@ typedef enum SpvOp_ {
SpvOpReorderThreadWithHintNV = 5280,
SpvOpTypeHitObjectNV = 5281,
SpvOpImageSampleFootprintNV = 5283,
SpvOpCooperativeMatrixConvertNV = 5293,
SpvOpEmitMeshTasksEXT = 5294,
SpvOpSetMeshOutputsEXT = 5295,
SpvOpGroupNonUniformPartitionNV = 5296,
@@ -1927,9 +1969,26 @@ typedef enum SpvOp_ {
SpvOpCooperativeMatrixLengthNV = 5362,
SpvOpBeginInvocationInterlockEXT = 5364,
SpvOpEndInvocationInterlockEXT = 5365,
SpvOpCooperativeMatrixReduceNV = 5366,
SpvOpCooperativeMatrixLoadTensorNV = 5367,
SpvOpCooperativeMatrixStoreTensorNV = 5368,
SpvOpCooperativeMatrixPerElementOpNV = 5369,
SpvOpTypeTensorLayoutNV = 5370,
SpvOpTypeTensorViewNV = 5371,
SpvOpCreateTensorLayoutNV = 5372,
SpvOpTensorLayoutSetDimensionNV = 5373,
SpvOpTensorLayoutSetStrideNV = 5374,
SpvOpTensorLayoutSliceNV = 5375,
SpvOpTensorLayoutSetClampValueNV = 5376,
SpvOpCreateTensorViewNV = 5377,
SpvOpTensorViewSetDimensionNV = 5378,
SpvOpTensorViewSetStrideNV = 5379,
SpvOpDemoteToHelperInvocation = 5380,
SpvOpDemoteToHelperInvocationEXT = 5380,
SpvOpIsHelperInvocationEXT = 5381,
SpvOpTensorViewSetClipNV = 5382,
SpvOpTensorLayoutSetBlockSizeNV = 5384,
SpvOpCooperativeMatrixTransposeNV = 5390,
SpvOpConvertUToImageNV = 5391,
SpvOpConvertUToSamplerNV = 5392,
SpvOpConvertImageToUNV = 5393,
@@ -2660,6 +2719,7 @@ inline void SpvHasResultAndType(SpvOp opcode, bool *hasResult, bool *hasResultTy
case SpvOpReorderThreadWithHintNV: *hasResult = false; *hasResultType = false; break;
case SpvOpTypeHitObjectNV: *hasResult = true; *hasResultType = false; break;
case SpvOpImageSampleFootprintNV: *hasResult = true; *hasResultType = true; break;
case SpvOpCooperativeMatrixConvertNV: *hasResult = true; *hasResultType = true; break;
case SpvOpEmitMeshTasksEXT: *hasResult = false; *hasResultType = false; break;
case SpvOpSetMeshOutputsEXT: *hasResult = false; *hasResultType = false; break;
case SpvOpGroupNonUniformPartitionNV: *hasResult = true; *hasResultType = true; break;
@@ -2682,8 +2742,25 @@ inline void SpvHasResultAndType(SpvOp opcode, bool *hasResult, bool *hasResultTy
case SpvOpCooperativeMatrixLengthNV: *hasResult = true; *hasResultType = true; break;
case SpvOpBeginInvocationInterlockEXT: *hasResult = false; *hasResultType = false; break;
case SpvOpEndInvocationInterlockEXT: *hasResult = false; *hasResultType = false; break;
case SpvOpCooperativeMatrixReduceNV: *hasResult = true; *hasResultType = true; break;
case SpvOpCooperativeMatrixLoadTensorNV: *hasResult = true; *hasResultType = true; break;
case SpvOpCooperativeMatrixStoreTensorNV: *hasResult = false; *hasResultType = false; break;
case SpvOpCooperativeMatrixPerElementOpNV: *hasResult = true; *hasResultType = true; break;
case SpvOpTypeTensorLayoutNV: *hasResult = true; *hasResultType = false; break;
case SpvOpTypeTensorViewNV: *hasResult = true; *hasResultType = false; break;
case SpvOpCreateTensorLayoutNV: *hasResult = true; *hasResultType = true; break;
case SpvOpTensorLayoutSetDimensionNV: *hasResult = true; *hasResultType = true; break;
case SpvOpTensorLayoutSetStrideNV: *hasResult = true; *hasResultType = true; break;
case SpvOpTensorLayoutSliceNV: *hasResult = true; *hasResultType = true; break;
case SpvOpTensorLayoutSetClampValueNV: *hasResult = true; *hasResultType = true; break;
case SpvOpCreateTensorViewNV: *hasResult = true; *hasResultType = true; break;
case SpvOpTensorViewSetDimensionNV: *hasResult = true; *hasResultType = true; break;
case SpvOpTensorViewSetStrideNV: *hasResult = true; *hasResultType = true; break;
case SpvOpDemoteToHelperInvocation: *hasResult = false; *hasResultType = false; break;
case SpvOpIsHelperInvocationEXT: *hasResult = true; *hasResultType = true; break;
case SpvOpTensorViewSetClipNV: *hasResult = true; *hasResultType = true; break;
case SpvOpTensorLayoutSetBlockSizeNV: *hasResult = true; *hasResultType = true; break;
case SpvOpCooperativeMatrixTransposeNV: *hasResult = true; *hasResultType = true; break;
case SpvOpConvertUToImageNV: *hasResult = true; *hasResultType = true; break;
case SpvOpConvertUToSamplerNV: *hasResult = true; *hasResultType = true; break;
case SpvOpConvertImageToUNV: *hasResult = true; *hasResultType = true; break;
@@ -3794,6 +3871,12 @@ inline const char* SpvCapabilityToString(SpvCapability value) {
case SpvCapabilityAtomicFloat16VectorNV: return "AtomicFloat16VectorNV";
case SpvCapabilityRayTracingDisplacementMicromapNV: return "RayTracingDisplacementMicromapNV";
case SpvCapabilityRawAccessChainsNV: return "RawAccessChainsNV";
case SpvCapabilityCooperativeMatrixReductionsNV: return "CooperativeMatrixReductionsNV";
case SpvCapabilityCooperativeMatrixConversionsNV: return "CooperativeMatrixConversionsNV";
case SpvCapabilityCooperativeMatrixPerElementOperationsNV: return "CooperativeMatrixPerElementOperationsNV";
case SpvCapabilityCooperativeMatrixTensorAddressingNV: return "CooperativeMatrixTensorAddressingNV";
case SpvCapabilityCooperativeMatrixBlockLoadsNV: return "CooperativeMatrixBlockLoadsNV";
case SpvCapabilityTensorAddressingNV: return "TensorAddressingNV";
case SpvCapabilitySubgroupShuffleINTEL: return "SubgroupShuffleINTEL";
case SpvCapabilitySubgroupBufferBlockIOINTEL: return "SubgroupBufferBlockIOINTEL";
case SpvCapabilitySubgroupImageBlockIOINTEL: return "SubgroupImageBlockIOINTEL";
@@ -3962,6 +4045,17 @@ inline const char* SpvCooperativeMatrixUseToString(SpvCooperativeMatrixUse value
}
}
inline const char* SpvTensorClampModeToString(SpvTensorClampMode value) {
switch (value) {
case SpvTensorClampModeUndefined: return "Undefined";
case SpvTensorClampModeConstant: return "Constant";
case SpvTensorClampModeClampToEdge: return "ClampToEdge";
case SpvTensorClampModeRepeat: return "Repeat";
case SpvTensorClampModeRepeatMirrored: return "RepeatMirrored";
default: return "Unknown";
}
}
inline const char* SpvInitializationModeQualifierToString(SpvInitializationModeQualifier value) {
switch (value) {
case SpvInitializationModeQualifierInitOnDeviceReprogramINTEL: return "InitOnDeviceReprogramINTEL";
@@ -4469,6 +4563,7 @@ inline const char* SpvOpToString(SpvOp value) {
case SpvOpReorderThreadWithHintNV: return "OpReorderThreadWithHintNV";
case SpvOpTypeHitObjectNV: return "OpTypeHitObjectNV";
case SpvOpImageSampleFootprintNV: return "OpImageSampleFootprintNV";
case SpvOpCooperativeMatrixConvertNV: return "OpCooperativeMatrixConvertNV";
case SpvOpEmitMeshTasksEXT: return "OpEmitMeshTasksEXT";
case SpvOpSetMeshOutputsEXT: return "OpSetMeshOutputsEXT";
case SpvOpGroupNonUniformPartitionNV: return "OpGroupNonUniformPartitionNV";
@@ -4491,8 +4586,25 @@ inline const char* SpvOpToString(SpvOp value) {
case SpvOpCooperativeMatrixLengthNV: return "OpCooperativeMatrixLengthNV";
case SpvOpBeginInvocationInterlockEXT: return "OpBeginInvocationInterlockEXT";
case SpvOpEndInvocationInterlockEXT: return "OpEndInvocationInterlockEXT";
case SpvOpCooperativeMatrixReduceNV: return "OpCooperativeMatrixReduceNV";
case SpvOpCooperativeMatrixLoadTensorNV: return "OpCooperativeMatrixLoadTensorNV";
case SpvOpCooperativeMatrixStoreTensorNV: return "OpCooperativeMatrixStoreTensorNV";
case SpvOpCooperativeMatrixPerElementOpNV: return "OpCooperativeMatrixPerElementOpNV";
case SpvOpTypeTensorLayoutNV: return "OpTypeTensorLayoutNV";
case SpvOpTypeTensorViewNV: return "OpTypeTensorViewNV";
case SpvOpCreateTensorLayoutNV: return "OpCreateTensorLayoutNV";
case SpvOpTensorLayoutSetDimensionNV: return "OpTensorLayoutSetDimensionNV";
case SpvOpTensorLayoutSetStrideNV: return "OpTensorLayoutSetStrideNV";
case SpvOpTensorLayoutSliceNV: return "OpTensorLayoutSliceNV";
case SpvOpTensorLayoutSetClampValueNV: return "OpTensorLayoutSetClampValueNV";
case SpvOpCreateTensorViewNV: return "OpCreateTensorViewNV";
case SpvOpTensorViewSetDimensionNV: return "OpTensorViewSetDimensionNV";
case SpvOpTensorViewSetStrideNV: return "OpTensorViewSetStrideNV";
case SpvOpDemoteToHelperInvocation: return "OpDemoteToHelperInvocation";
case SpvOpIsHelperInvocationEXT: return "OpIsHelperInvocationEXT";
case SpvOpTensorViewSetClipNV: return "OpTensorViewSetClipNV";
case SpvOpTensorLayoutSetBlockSizeNV: return "OpTensorLayoutSetBlockSizeNV";
case SpvOpCooperativeMatrixTransposeNV: return "OpCooperativeMatrixTransposeNV";
case SpvOpConvertUToImageNV: return "OpConvertUToImageNV";
case SpvOpConvertUToSamplerNV: return "OpConvertUToSamplerNV";
case SpvOpConvertImageToUNV: return "OpConvertImageToUNV";

File diff suppressed because it is too large Load Diff

View File

@@ -20,7 +20,7 @@
"",
"MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS KHRONOS",
"STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS SPECIFICATIONS AND",
"HEADER INFORMATION ARE LOCATED AT https://www.khronos.org/registry/ ",
"HEADER INFORMATION ARE LOCATED AT https://www.khronos.org/registry/",
"",
"THE MATERIALS ARE PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS",
"OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,",
@@ -1146,6 +1146,12 @@
"AtomicFloat16VectorNV": 5404,
"RayTracingDisplacementMicromapNV": 5409,
"RawAccessChainsNV": 5414,
"CooperativeMatrixReductionsNV": 5430,
"CooperativeMatrixConversionsNV": 5431,
"CooperativeMatrixPerElementOperationsNV": 5432,
"CooperativeMatrixTensorAddressingNV": 5433,
"CooperativeMatrixBlockLoadsNV": 5434,
"TensorAddressingNV": 5439,
"SubgroupShuffleINTEL": 5568,
"SubgroupBufferBlockIOINTEL": 5569,
"SubgroupImageBlockIOINTEL": 5570,
@@ -1369,6 +1375,37 @@
"MatrixAccumulatorKHR": 2
}
},
{
"Name": "CooperativeMatrixReduce",
"Type": "Bit",
"Values":
{
"Row": 0,
"Column": 1,
"CooperativeMatrixReduce2x2": 2
}
},
{
"Name": "TensorClampMode",
"Type": "Value",
"Values":
{
"Undefined": 0,
"Constant": 1,
"ClampToEdge": 2,
"Repeat": 3,
"RepeatMirrored": 4
}
},
{
"Name": "TensorAddressingOperands",
"Type": "Bit",
"Values":
{
"TensorView": 0,
"DecodeFunc": 1
}
},
{
"Name": "InitializationModeQualifier",
"Type": "Value",
@@ -1900,6 +1937,7 @@
"OpReorderThreadWithHintNV": 5280,
"OpTypeHitObjectNV": 5281,
"OpImageSampleFootprintNV": 5283,
"OpCooperativeMatrixConvertNV": 5293,
"OpEmitMeshTasksEXT": 5294,
"OpSetMeshOutputsEXT": 5295,
"OpGroupNonUniformPartitionNV": 5296,
@@ -1924,9 +1962,26 @@
"OpCooperativeMatrixLengthNV": 5362,
"OpBeginInvocationInterlockEXT": 5364,
"OpEndInvocationInterlockEXT": 5365,
"OpCooperativeMatrixReduceNV": 5366,
"OpCooperativeMatrixLoadTensorNV": 5367,
"OpCooperativeMatrixStoreTensorNV": 5368,
"OpCooperativeMatrixPerElementOpNV": 5369,
"OpTypeTensorLayoutNV": 5370,
"OpTypeTensorViewNV": 5371,
"OpCreateTensorLayoutNV": 5372,
"OpTensorLayoutSetDimensionNV": 5373,
"OpTensorLayoutSetStrideNV": 5374,
"OpTensorLayoutSliceNV": 5375,
"OpTensorLayoutSetClampValueNV": 5376,
"OpCreateTensorViewNV": 5377,
"OpTensorViewSetDimensionNV": 5378,
"OpTensorViewSetStrideNV": 5379,
"OpDemoteToHelperInvocation": 5380,
"OpDemoteToHelperInvocationEXT": 5380,
"OpIsHelperInvocationEXT": 5381,
"OpTensorViewSetClipNV": 5382,
"OpTensorLayoutSetBlockSizeNV": 5384,
"OpCooperativeMatrixTransposeNV": 5390,
"OpConvertUToImageNV": 5391,
"OpConvertUToSamplerNV": 5392,
"OpConvertImageToUNV": 5393,