spirv: Update the JSON and headers

Acked-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33930>
This commit is contained in:
Faith Ekstrand 2025-03-06 11:59:34 -06:00 committed by Marge Bot
parent 1cdc420065
commit 57818436f8
2 changed files with 980 additions and 7 deletions

View file

@ -5967,6 +5967,93 @@
"extensions" : [ "SPV_NV_shader_image_footprint" ],
"version" : "None"
},
{
"opname" : "OpTypeCooperativeVectorNV",
"class" : "Type-Declaration",
"opcode" : 5288,
"operands" : [
{ "kind" : "IdResult" },
{ "kind" : "IdRef", "name" : "'Component Type'" },
{ "kind" : "IdRef", "name" : "'Component Count'" }
],
"capabilities" : [ "CooperativeVectorNV" ],
"version" : "None"
},
{
"opname" : "OpCooperativeVectorMatrixMulNV",
"class" : "Reserved",
"opcode" : 5289,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{ "kind" : "IdRef", "name" : "'Input'" },
{ "kind" : "IdRef", "name" : "'InputInterpretation'" },
{ "kind" : "IdRef", "name" : "'Matrix'" },
{ "kind" : "IdRef", "name" : "'MatrixOffset'" },
{ "kind" : "IdRef", "name" : "'MatrixInterpretation'" },
{ "kind" : "IdRef", "name" : "'M'" },
{ "kind" : "IdRef", "name" : "'K'" },
{ "kind" : "IdRef", "name" : "'MemoryLayout'" },
{ "kind" : "IdRef", "name" : "'Transpose'" },
{ "kind" : "IdRef", "name" : "'MatrixStride'", "quantifier": "?" },
{ "kind" : "CooperativeMatrixOperands", "quantifier" : "?" }
],
"capabilities" : [ "CooperativeVectorNV" ],
"version" : "None"
},
{
"opname" : "OpCooperativeVectorOuterProductAccumulateNV",
"class" : "Reserved",
"opcode" : 5290,
"operands" : [
{ "kind" : "IdRef", "name" : "'Pointer'" },
{ "kind" : "IdRef", "name" : "'Offset'" },
{ "kind" : "IdRef", "name" : "'A'" },
{ "kind" : "IdRef", "name" : "'B'" },
{ "kind" : "IdRef", "name" : "'MemoryLayout'" },
{ "kind" : "IdRef", "name" : "'MatrixInterpretation'" },
{ "kind" : "IdRef", "name" : "'MatrixStride'", "quantifier": "?" }
],
"capabilities" : [ "CooperativeVectorTrainingNV" ],
"version" : "None"
},
{
"opname" : "OpCooperativeVectorReduceSumAccumulateNV",
"class" : "Reserved",
"opcode" : 5291,
"operands" : [
{ "kind" : "IdRef", "name" : "'Pointer'" },
{ "kind" : "IdRef", "name" : "'Offset'" },
{ "kind" : "IdRef", "name" : "'V'" }
],
"capabilities" : [ "CooperativeVectorTrainingNV" ],
"version" : "None"
},
{
"opname" : "OpCooperativeVectorMatrixMulAddNV",
"class" : "Reserved",
"opcode" : 5292,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{ "kind" : "IdRef", "name" : "'Input'" },
{ "kind" : "IdRef", "name" : "'InputInterpretation'" },
{ "kind" : "IdRef", "name" : "'Matrix'" },
{ "kind" : "IdRef", "name" : "'MatrixOffset'" },
{ "kind" : "IdRef", "name" : "'MatrixInterpretation'" },
{ "kind" : "IdRef", "name" : "'Bias'" },
{ "kind" : "IdRef", "name" : "'BiasOffset'" },
{ "kind" : "IdRef", "name" : "'BiasInterpretation'" },
{ "kind" : "IdRef", "name" : "'M'" },
{ "kind" : "IdRef", "name" : "'K'" },
{ "kind" : "IdRef", "name" : "'MemoryLayout'" },
{ "kind" : "IdRef", "name" : "'Transpose'" },
{ "kind" : "IdRef", "name" : "'MatrixStride'", "quantifier": "?" },
{ "kind" : "CooperativeMatrixOperands", "quantifier" : "?" }
],
"capabilities" : [ "CooperativeVectorNV" ],
"version" : "None"
},
{
"opname" : "OpCooperativeMatrixConvertNV",
"class" : "Conversion",
@ -6060,6 +6147,33 @@
"capabilities" : [ "DisplacementMicromapNV" ],
"version" : "None"
},
{
"opname" : "OpCooperativeVectorLoadNV",
"class" : "Memory",
"opcode" : 5302,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{ "kind" : "IdRef", "name" : "'Pointer'" },
{ "kind" : "IdRef", "name" : "'Offset'" },
{ "kind" : "MemoryAccess", "quantifier" : "?" }
],
"capabilities" : [ "CooperativeVectorNV" ],
"version" : "None"
},
{
"opname" : "OpCooperativeVectorStoreNV",
"class" : "Memory",
"opcode" : 5303,
"operands" : [
{ "kind" : "IdRef", "name" : "'Pointer'" },
{ "kind" : "IdRef", "name" : "'Offset'" },
{ "kind" : "IdRef", "name" : "'Object'" },
{ "kind" : "MemoryAccess", "quantifier" : "?" }
],
"capabilities" : [ "CooperativeVectorNV" ],
"version" : "None"
},
{
"opname" : "OpReportIntersectionKHR",
"class" : "Reserved",
@ -6203,6 +6317,37 @@
"extensions" : [ "SPV_NV_ray_tracing" ],
"version" : "None"
},
{
"opname" : "OpRayQueryGetClusterIdNV",
"class" : "Reserved",
"opcode" : 5345,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{
"kind" : "IdRef",
"name" : "'RayQuery'"
},
{
"kind" : "IdRef",
"name" : "'Intersection'"
}
],
"capabilities" : [ "RayTracingClusterAccelerationStructureNV" ],
"version" : "None"
},
{
"opname" : "OpHitObjectGetClusterIdNV",
"class" : "Reserved",
"opcode" : 5346,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{ "kind" : "IdRef", "name" : "'Hit Object'" }
],
"capabilities" : [ "RayTracingClusterAccelerationStructureNV" ],
"version" : "None"
},
{
"opname" : "OpTypeCooperativeMatrixNV",
"class" : "Type-Declaration",
@ -6644,6 +6789,211 @@
],
"version" : "None"
},
{
"opname" : "OpRayQueryGetIntersectionSpherePositionNV",
"class" : "Reserved",
"opcode" : 5427,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{
"kind" : "IdRef",
"name" : "'RayQuery'"
},
{
"kind" : "IdRef",
"name" : "'Intersection'"
}
],
"capabilities" : [ "RayTracingSpheresGeometryNV" ],
"version" : "None"
},
{
"opname" : "OpRayQueryGetIntersectionSphereRadiusNV",
"class" : "Reserved",
"opcode" : 5428,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{
"kind" : "IdRef",
"name" : "'RayQuery'"
},
{
"kind" : "IdRef",
"name" : "'Intersection'"
}
],
"capabilities" : [ "RayTracingSpheresGeometryNV" ],
"version" : "None"
},
{
"opname" : "OpRayQueryGetIntersectionLSSPositionsNV",
"class" : "Reserved",
"opcode" : 5429,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{
"kind" : "IdRef",
"name" : "'RayQuery'"
},
{
"kind" : "IdRef",
"name" : "'Intersection'"
}
],
"capabilities" : [ "RayTracingLinearSweptSpheresGeometryNV" ],
"version" : "None"
},
{
"opname" : "OpRayQueryGetIntersectionLSSRadiiNV",
"class" : "Reserved",
"opcode" : 5430,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{
"kind" : "IdRef",
"name" : "'RayQuery'"
},
{
"kind" : "IdRef",
"name" : "'Intersection'"
}
],
"capabilities" : [ "RayTracingLinearSweptSpheresGeometryNV"],
"version" : "None"
},
{
"opname" : "OpRayQueryGetIntersectionLSSHitValueNV",
"class" : "Reserved",
"opcode" : 5431,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{
"kind" : "IdRef",
"name" : "'RayQuery'"
},
{
"kind" : "IdRef",
"name" : "'Intersection'"
}
],
"capabilities" : [ "RayTracingLinearSweptSpheresGeometryNV" ],
"version" : "None"
},
{
"opname" : "OpHitObjectGetSpherePositionNV",
"class" : "Reserved",
"opcode" : 5432,
"operands" : [
{ "kind" : "IdResultType"},
{ "kind" : "IdResult"},
{ "kind" : "IdRef", "name" : "'Hit Object'" }
],
"capabilities" : [ "RayTracingSpheresGeometryNV" ],
"version" : "None"
},
{
"opname" : "OpHitObjectGetSphereRadiusNV",
"class" : "Reserved",
"opcode" : 5433,
"operands" : [
{ "kind" : "IdResultType"},
{ "kind" : "IdResult"},
{ "kind" : "IdRef", "name" : "'Hit Object'" }
],
"capabilities" : [ "RayTracingSpheresGeometryNV" ],
"version" : "None"
},
{
"opname" : "OpHitObjectGetLSSPositionsNV",
"class" : "Reserved",
"opcode" : 5434,
"operands" : [
{ "kind" : "IdResultType"},
{ "kind" : "IdResult"},
{ "kind" : "IdRef", "name" : "'Hit Object'" }
],
"capabilities" : [ "RayTracingLinearSweptSpheresGeometryNV" ],
"version" : "None"
},
{
"opname" : "OpHitObjectGetLSSRadiiNV",
"class" : "Reserved",
"opcode" : 5435,
"operands" : [
{ "kind" : "IdResultType"},
{ "kind" : "IdResult"},
{ "kind" : "IdRef", "name" : "'Hit Object'" }
],
"capabilities" : [ "RayTracingLinearSweptSpheresGeometryNV" ],
"version" : "None"
},
{
"opname" : "OpHitObjectIsSphereHitNV",
"class" : "Reserved",
"opcode" : 5436,
"operands" : [
{ "kind" : "IdResultType"},
{ "kind" : "IdResult"},
{ "kind" : "IdRef", "name" : "'Hit Object'" }
],
"capabilities" : [ "RayTracingSpheresGeometryNV" ],
"version" : "None"
},
{
"opname" : "OpHitObjectIsLSSHitNV",
"class" : "Reserved",
"opcode" : 5437,
"operands" : [
{ "kind" : "IdResultType"},
{ "kind" : "IdResult"},
{ "kind" : "IdRef", "name" : "'Hit Object'" }
],
"capabilities" : [ "RayTracingLinearSweptSpheresGeometryNV" ],
"version" : "None"
},
{
"opname" : "OpRayQueryIsSphereHitNV",
"class" : "Reserved",
"opcode" : 5438,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{
"kind" : "IdRef",
"name" : "'RayQuery'"
},
{
"kind" : "IdRef",
"name" : "'Intersection'"
}
],
"capabilities" : [ "RayTracingSpheresGeometryNV" ],
"version" : "None"
},
{
"opname" : "OpRayQueryIsLSSHitNV",
"class" : "Reserved",
"opcode" : 5439,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{
"kind" : "IdRef",
"name" : "'RayQuery'"
},
{
"kind" : "IdRef",
"name" : "'Intersection'"
}
],
"capabilities" : [ "RayTracingLinearSweptSpheresGeometryNV" ],
"version" : "None"
},
{
"opname" : "OpSubgroupShuffleINTEL",
"class" : "Group",
@ -6986,7 +7336,6 @@
"class" : "@exclude",
"opcode" : 5609,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{ "kind" : "LiteralString", "name" : "'Asm target'" }
],
@ -10114,7 +10463,7 @@
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{ "kind" : "IdRef", "name" : "'Target '" }
{ "kind" : "IdRef", "name" : "'Target'" }
],
"capabilities" : [ "ArithmeticFenceEXT" ],
"version" : "None"
@ -10131,6 +10480,116 @@
"capabilities" : [ "SubgroupBufferPrefetchINTEL" ],
"version" : "None"
},
{
"opname" : "OpSubgroup2DBlockLoadINTEL",
"class" : "Group",
"opcode" : 6231,
"operands" : [
{ "kind" : "IdRef", "name" : "'Element Size'" },
{ "kind" : "IdRef", "name" : "'Block Width'" },
{ "kind" : "IdRef", "name" : "'Block Height'" },
{ "kind" : "IdRef", "name" : "'Block Count'" },
{ "kind" : "IdRef", "name" : "'Src Base Pointer'" },
{ "kind" : "IdRef", "name" : "'Memory Width'" },
{ "kind" : "IdRef", "name" : "'Memory Height'" },
{ "kind" : "IdRef", "name" : "'Memory Pitch'" },
{ "kind" : "IdRef", "name" : "'Coordinate'" },
{ "kind" : "IdRef", "name" : "'Dst Pointer'" }
],
"capabilities" : [ "Subgroup2DBlockIOINTEL" ],
"version" : "None"
},
{
"opname" : "OpSubgroup2DBlockLoadTransformINTEL",
"class" : "Group",
"opcode" : 6232,
"operands" : [
{ "kind" : "IdRef", "name" : "'Element Size'" },
{ "kind" : "IdRef", "name" : "'Block Width'" },
{ "kind" : "IdRef", "name" : "'Block Height'" },
{ "kind" : "IdRef", "name" : "'Block Count'" },
{ "kind" : "IdRef", "name" : "'Src Base Pointer'" },
{ "kind" : "IdRef", "name" : "'Memory Width'" },
{ "kind" : "IdRef", "name" : "'Memory Height'" },
{ "kind" : "IdRef", "name" : "'Memory Pitch'" },
{ "kind" : "IdRef", "name" : "'Coordinate'" },
{ "kind" : "IdRef", "name" : "'Dst Pointer'" }
],
"capabilities" : [ "Subgroup2DBlockTransformINTEL" ],
"version" : "None"
},
{
"opname" : "OpSubgroup2DBlockLoadTransposeINTEL",
"class" : "Group",
"opcode" : 6233,
"operands" : [
{ "kind" : "IdRef", "name" : "'Element Size'" },
{ "kind" : "IdRef", "name" : "'Block Width'" },
{ "kind" : "IdRef", "name" : "'Block Height'" },
{ "kind" : "IdRef", "name" : "'Block Count'" },
{ "kind" : "IdRef", "name" : "'Src Base Pointer'" },
{ "kind" : "IdRef", "name" : "'Memory Width'" },
{ "kind" : "IdRef", "name" : "'Memory Height'" },
{ "kind" : "IdRef", "name" : "'Memory Pitch'" },
{ "kind" : "IdRef", "name" : "'Coordinate'" },
{ "kind" : "IdRef", "name" : "'Dst Pointer'" }
],
"capabilities" : [ "Subgroup2DBlockTransposeINTEL" ],
"version" : "None"
},
{
"opname" : "OpSubgroup2DBlockPrefetchINTEL",
"class" : "Group",
"opcode" : 6234,
"operands" : [
{ "kind" : "IdRef", "name" : "'Element Size'" },
{ "kind" : "IdRef", "name" : "'Block Width'" },
{ "kind" : "IdRef", "name" : "'Block Height'" },
{ "kind" : "IdRef", "name" : "'Block Count'" },
{ "kind" : "IdRef", "name" : "'Src Base Pointer'" },
{ "kind" : "IdRef", "name" : "'Memory Width'" },
{ "kind" : "IdRef", "name" : "'Memory Height'" },
{ "kind" : "IdRef", "name" : "'Memory Pitch'" },
{ "kind" : "IdRef", "name" : "'Coordinate'" }
],
"capabilities" : [ "Subgroup2DBlockIOINTEL" ],
"version" : "None"
},
{
"opname" : "OpSubgroup2DBlockStoreINTEL",
"class" : "Group",
"opcode" : 6235,
"operands" : [
{ "kind" : "IdRef", "name" : "'Element Size'" },
{ "kind" : "IdRef", "name" : "'Block Width'" },
{ "kind" : "IdRef", "name" : "'Block Height'" },
{ "kind" : "IdRef", "name" : "'Block Count'" },
{ "kind" : "IdRef", "name" : "'Src Pointer'" },
{ "kind" : "IdRef", "name" : "'Dst Base Pointer'" },
{ "kind" : "IdRef", "name" : "'Memory Width'" },
{ "kind" : "IdRef", "name" : "'Memory Height'" },
{ "kind" : "IdRef", "name" : "'Memory Pitch'" },
{ "kind" : "IdRef", "name" : "'Coordinate'" }
],
"capabilities" : [ "Subgroup2DBlockIOINTEL" ],
"version" : "None"
},
{
"opname" : "OpSubgroupMatrixMultiplyAccumulateINTEL",
"class" : "Group",
"opcode" : 6237,
"operands" : [
{ "kind" : "IdResultType" },
{ "kind" : "IdResult" },
{ "kind" : "IdRef", "name" : "'K Dim'" },
{ "kind" : "IdRef", "name" : "'Matrix A'" },
{ "kind" : "IdRef", "name" : "'Matrix B'" },
{ "kind" : "IdRef", "name" : "'Matrix C'" },
{ "kind" : "MatrixMultiplyAccumulateOperands", "quantifier" : "?" }
],
"capabilities" : [ "SubgroupMatrixMultiplyAccumulateINTEL" ],
"version" : "None"
},
{
"opname" : "OpGroupIMulKHR",
"class" : "Group",
@ -10940,6 +11399,7 @@
},
{
"enumerant" : "SkipTrianglesKHR",
"aliases" : ["SkipBuiltinPrimitivesNV"],
"value" : "0x0100",
"capabilities" : [ "RayTraversalPrimitiveCullingKHR" ],
"version" : "None"
@ -11078,6 +11538,11 @@
"enumerant" : "Zig",
"value" : 12,
"version" : "1.0"
},
{
"enumerant" : "Rust",
"value" : 13,
"version" : "1.0"
}
]
},
@ -14887,6 +15352,27 @@
"extensions" : [ "SPV_KHR_ray_tracing" ],
"version" : "None"
},
{
"enumerant" : "HitIsSphereNV",
"value" : 5359,
"capabilities" : [ "RayTracingSpheresGeometryNV" ],
"extensions" : [ "SPV_NV_linear_swept_spheres" ],
"version" : "None"
},
{
"enumerant" : "HitIsLSSNV",
"value" : 5360,
"capabilities" : [ "RayTracingLinearSweptSpheresGeometryNV" ],
"extensions" : [ "SPV_NV_linear_swept_spheres" ],
"version" : "None"
},
{
"enumerant" : "HitSpherePositionNV",
"value" : 5361,
"capabilities" : [ "RayTracingSpheresGeometryNV" ],
"extensions" : [ "SPV_NV_linear_swept_spheres" ],
"version" : "None"
},
{
"enumerant" : "WarpsPerSMNV",
"value" : 5374,
@ -14915,6 +15401,13 @@
"extensions" : [ "SPV_NV_shader_sm_builtins" ],
"version" : "None"
},
{
"enumerant" : "HitLSSPositionsNV",
"value" : 5396,
"capabilities" : [ "RayTracingLinearSweptSpheresGeometryNV" ],
"extensions" : [ "SPV_NV_linear_swept_spheres" ],
"version" : "None"
},
{
"enumerant" : "HitKindFrontFacingMicroTriangleNV",
"value" : 5405,
@ -14927,6 +15420,27 @@
"capabilities" : [ "RayTracingDisplacementMicromapNV" ],
"version" : "None"
},
{
"enumerant" : "HitSphereRadiusNV",
"value" : 5420,
"capabilities" : [ "RayTracingSpheresGeometryNV" ],
"extensions" : [ "SPV_NV_linear_swept_spheres" ],
"version" : "None"
},
{
"enumerant" : "HitLSSRadiiNV",
"value" : 5421,
"capabilities" : [ "RayTracingLinearSweptSpheresGeometryNV" ],
"extensions" : [ "SPV_NV_linear_swept_spheres" ],
"version" : "None"
},
{
"enumerant" : "ClusterIDNV",
"value" : 5436,
"capabilities" : [ "RayTracingClusterAccelerationStructureNV" ],
"extensions" : [ "SPV_NV_cluster_acceleration_structure" ],
"version" : "None"
},
{
"enumerant" : "CullMaskKHR",
"value" : 6021,
@ -15598,6 +16112,7 @@
{
"enumerant" : "AtomicStorageOps",
"value" : 4445,
"capabilities" : [ "AtomicStorage" ],
"extensions" : [ "SPV_KHR_shader_atomic_counter_ops" ],
"version" : "None"
},
@ -16107,6 +16622,12 @@
"extensions" : [ "SPV_KHR_ray_tracing_position_fetch" ],
"version" : "None"
},
{
"enumerant" : "CooperativeVectorNV",
"value" : 5394,
"extensions" : [ "SPV_NV_cooperative_vector" ],
"version" : "None"
},
{
"enumerant" : "AtomicFloat16VectorNV",
"value" : 5404,
@ -16126,6 +16647,18 @@
"extensions" : [ "SPV_NV_raw_access_chains" ],
"version" : "None"
},
{
"enumerant" : "RayTracingSpheresGeometryNV",
"value" : 5418,
"extensions" : [ "SPV_NV_linear_swept_spheres" ],
"version" : "None"
},
{
"enumerant" : "RayTracingLinearSweptSpheresGeometryNV",
"value" : 5419,
"extensions" : [ "SPV_NV_linear_swept_spheres" ],
"version" : "None"
},
{
"enumerant" : "CooperativeMatrixReductionsNV",
"value" : 5430,
@ -16156,6 +16689,19 @@
"extensions" : [ "SPV_NV_cooperative_matrix2" ],
"version" : "None"
},
{
"enumerant" : "CooperativeVectorTrainingNV",
"value" : 5435,
"extensions" : [ "SPV_NV_cooperative_vector" ],
"version" : "None"
},
{
"enumerant" : "RayTracingClusterAccelerationStructureNV",
"value" : 5437,
"capabilities" : [ "RayTracingKHR" ],
"extensions" : [ "SPV_NV_cluster_acceleration_structure" ],
"version" : "None"
},
{
"enumerant" : "TensorAddressingNV",
"value" : 5439,
@ -16201,7 +16747,6 @@
{
"enumerant" : "IntegerFunctions2INTEL",
"value" : 5584,
"capabilities" : [ "Shader" ],
"extensions" : [ "SPV_INTEL_shader_integer_functions2" ],
"version" : "None"
},
@ -16588,6 +17133,32 @@
"extensions": [ "SPV_INTEL_subgroup_buffer_prefetch" ],
"version" : "None"
},
{
"enumerant" : "Subgroup2DBlockIOINTEL",
"value" : 6228,
"extensions": [ "SPV_INTEL_2d_block_io" ],
"version" : "None"
},
{
"enumerant" : "Subgroup2DBlockTransformINTEL",
"value" : 6229,
"capabilities" : [ "Subgroup2DBlockIOINTEL" ],
"extensions": [ "SPV_INTEL_2d_block_io" ],
"version" : "None"
},
{
"enumerant" : "Subgroup2DBlockTransposeINTEL",
"value" : 6230,
"capabilities" : [ "Subgroup2DBlockIOINTEL" ],
"extensions": [ "SPV_INTEL_2d_block_io" ],
"version" : "None"
},
{
"enumerant" : "SubgroupMatrixMultiplyAccumulateINTEL",
"value" : 6236,
"extensions": [ "SPV_INTEL_subgroup_matrix_multiply_accumulate" ],
"version" : "None"
},
{
"enumerant" : "GroupUniformArithmeticKHR",
"value" : 6400,
@ -16596,9 +17167,9 @@
},
{
"enumerant" : "MaskedGatherScatterINTEL",
"value" : 6427,
"extensions" : [ "SPV_INTEL_masked_gather_scatter"],
"version" : "None"
"value" : 6427,
"extensions" : [ "SPV_INTEL_masked_gather_scatter"],
"version" : "None"
},
{
"enumerant" : "CacheControlsINTEL",
@ -16947,12 +17518,200 @@
}
]
},
{
"category" : "BitEnum",
"kind" : "MatrixMultiplyAccumulateOperands",
"enumerants" : [
{
"enumerant" : "None",
"value" : "0x0",
"version" : "None"
},
{
"enumerant" : "MatrixASignedComponentsINTEL",
"value" : "0x1",
"version" : "None"
},
{
"enumerant" : "MatrixBSignedComponentsINTEL",
"value" : "0x2",
"version" : "None"
},
{
"enumerant" : "MatrixCBFloat16INTEL",
"value" : "0x4",
"version" : "None"
},
{
"enumerant" : "MatrixResultBFloat16INTEL",
"value" : "0x8",
"version" : "None"
},
{
"enumerant" : "MatrixAPackedInt8INTEL",
"value" : "0x10",
"version" : "None"
},
{
"enumerant" : "MatrixBPackedInt8INTEL",
"value" : "0x20",
"version" : "None"
},
{
"enumerant" : "MatrixAPackedInt4INTEL",
"value" : "0x40",
"version" : "None"
},
{
"enumerant" : "MatrixBPackedInt4INTEL",
"value" : "0x80",
"version" : "None"
},
{
"enumerant" : "MatrixATF32INTEL",
"value" : "0x100",
"version" : "None"
},
{
"enumerant" : "MatrixBTF32INTEL",
"value" : "0x200",
"version" : "None"
},
{
"enumerant" : "MatrixAPackedFloat16INTEL",
"value" : "0x400",
"version" : "None"
},
{
"enumerant" : "MatrixBPackedFloat16INTEL",
"value" : "0x800",
"version" : "None"
},
{
"enumerant" : "MatrixAPackedBFloat16INTEL",
"value" : "0x1000",
"version" : "None"
},
{
"enumerant" : "MatrixBPackedBFloat16INTEL",
"value" : "0x2000",
"version" : "None"
}
]
},
{
"category" : "ValueEnum",
"kind" : "FPEncoding",
"enumerants" : [
]
},
{
"category" : "ValueEnum",
"kind" : "CooperativeVectorMatrixLayout",
"enumerants" : [
{
"enumerant" : "RowMajorNV",
"value" : 0,
"version" : "None"
},
{
"enumerant" : "ColumnMajorNV",
"value" : 1,
"version" : "None"
},
{
"enumerant" : "InferencingOptimalNV",
"value" : 2,
"version" : "None"
},
{
"enumerant" : "TrainingOptimalNV",
"value" : 3,
"version" : "None"
}
]
},
{
"category" : "ValueEnum",
"kind" : "ComponentType",
"enumerants" : [
{
"enumerant" : "Float16NV",
"value" : 0,
"version" : "None"
},
{
"enumerant" : "Float32NV",
"value" : 1,
"version" : "None"
},
{
"enumerant" : "Float64NV",
"value" : 2,
"version" : "None"
},
{
"enumerant" : "SignedInt8NV",
"value" : 3,
"version" : "None"
},
{
"enumerant" : "SignedInt16NV",
"value" : 4,
"version" : "None"
},
{
"enumerant" : "SignedInt32NV",
"value" : 5,
"version" : "None"
},
{
"enumerant" : "SignedInt64NV",
"value" : 6,
"version" : "None"
},
{
"enumerant" : "UnsignedInt8NV",
"value" : 7,
"version" : "None"
},
{
"enumerant" : "UnsignedInt16NV",
"value" : 8,
"version" : "None"
},
{
"enumerant" : "UnsignedInt32NV",
"value" : 9,
"version" : "None"
},
{
"enumerant" : "UnsignedInt64NV",
"value" : 10,
"version" : "None"
},
{
"enumerant" : "SignedInt8PackedNV",
"value" : 1000491000,
"version" : "None"
},
{
"enumerant" : "UnsignedInt8PackedNV",
"value" : 1000491001,
"version" : "None"
},
{
"enumerant" : "FloatE4M3NV",
"value" : 1000491002,
"version" : "None"
},
{
"enumerant" : "FloatE5M2NV",
"value" : 1000491003,
"version" : "None"
}
]
},
{
"category" : "Id",
"kind" : "IdResultType",

View file

@ -78,6 +78,7 @@ typedef enum SpvSourceLanguage_ {
SpvSourceLanguageWGSL = 10,
SpvSourceLanguageSlang = 11,
SpvSourceLanguageZig = 12,
SpvSourceLanguageRust = 13,
SpvSourceLanguageMax = 0x7fffffff,
} SpvSourceLanguage;
@ -784,12 +785,19 @@ typedef enum SpvBuiltIn_ {
SpvBuiltInIncomingRayFlagsKHR = 5351,
SpvBuiltInIncomingRayFlagsNV = 5351,
SpvBuiltInRayGeometryIndexKHR = 5352,
SpvBuiltInHitIsSphereNV = 5359,
SpvBuiltInHitIsLSSNV = 5360,
SpvBuiltInHitSpherePositionNV = 5361,
SpvBuiltInWarpsPerSMNV = 5374,
SpvBuiltInSMCountNV = 5375,
SpvBuiltInWarpIDNV = 5376,
SpvBuiltInSMIDNV = 5377,
SpvBuiltInHitLSSPositionsNV = 5396,
SpvBuiltInHitKindFrontFacingMicroTriangleNV = 5405,
SpvBuiltInHitKindBackFacingMicroTriangleNV = 5406,
SpvBuiltInHitSphereRadiusNV = 5420,
SpvBuiltInHitLSSRadiiNV = 5421,
SpvBuiltInClusterIDNV = 5436,
SpvBuiltInCullMaskKHR = 6021,
SpvBuiltInMax = 0x7fffffff,
} SpvBuiltIn;
@ -1171,14 +1179,19 @@ typedef enum SpvCapability_ {
SpvCapabilityShaderInvocationReorderNV = 5383,
SpvCapabilityBindlessTextureNV = 5390,
SpvCapabilityRayQueryPositionFetchKHR = 5391,
SpvCapabilityCooperativeVectorNV = 5394,
SpvCapabilityAtomicFloat16VectorNV = 5404,
SpvCapabilityRayTracingDisplacementMicromapNV = 5409,
SpvCapabilityRawAccessChainsNV = 5414,
SpvCapabilityRayTracingSpheresGeometryNV = 5418,
SpvCapabilityRayTracingLinearSweptSpheresGeometryNV = 5419,
SpvCapabilityCooperativeMatrixReductionsNV = 5430,
SpvCapabilityCooperativeMatrixConversionsNV = 5431,
SpvCapabilityCooperativeMatrixPerElementOperationsNV = 5432,
SpvCapabilityCooperativeMatrixTensorAddressingNV = 5433,
SpvCapabilityCooperativeMatrixBlockLoadsNV = 5434,
SpvCapabilityCooperativeVectorTrainingNV = 5435,
SpvCapabilityRayTracingClusterAccelerationStructureNV = 5437,
SpvCapabilityTensorAddressingNV = 5439,
SpvCapabilitySubgroupShuffleINTEL = 5568,
SpvCapabilitySubgroupBufferBlockIOINTEL = 5569,
@ -1254,6 +1267,10 @@ typedef enum SpvCapability_ {
SpvCapabilityGlobalVariableHostAccessINTEL = 6187,
SpvCapabilityGlobalVariableFPGADecorationsINTEL = 6189,
SpvCapabilitySubgroupBufferPrefetchINTEL = 6220,
SpvCapabilitySubgroup2DBlockIOINTEL = 6228,
SpvCapabilitySubgroup2DBlockTransformINTEL = 6229,
SpvCapabilitySubgroup2DBlockTransposeINTEL = 6230,
SpvCapabilitySubgroupMatrixMultiplyAccumulateINTEL = 6236,
SpvCapabilityGroupUniformArithmeticKHR = 6400,
SpvCapabilityMaskedGatherScatterINTEL = 6427,
SpvCapabilityCacheControlsINTEL = 6441,
@ -1270,6 +1287,7 @@ typedef enum SpvRayFlagsShift_ {
SpvRayFlagsCullFrontFacingTrianglesKHRShift = 5,
SpvRayFlagsCullOpaqueKHRShift = 6,
SpvRayFlagsCullNoOpaqueKHRShift = 7,
SpvRayFlagsSkipBuiltinPrimitivesNVShift = 8,
SpvRayFlagsSkipTrianglesKHRShift = 8,
SpvRayFlagsSkipAABBsKHRShift = 9,
SpvRayFlagsForceOpacityMicromap2StateEXTShift = 10,
@ -1286,6 +1304,7 @@ typedef enum SpvRayFlagsMask_ {
SpvRayFlagsCullFrontFacingTrianglesKHRMask = 0x00000020,
SpvRayFlagsCullOpaqueKHRMask = 0x00000040,
SpvRayFlagsCullNoOpaqueKHRMask = 0x00000080,
SpvRayFlagsSkipBuiltinPrimitivesNVMask = 0x00000100,
SpvRayFlagsSkipTrianglesKHRMask = 0x00000100,
SpvRayFlagsSkipAABBsKHRMask = 0x00000200,
SpvRayFlagsForceOpacityMicromap2StateEXTMask = 0x00000400,
@ -1468,6 +1487,42 @@ typedef enum SpvNamedMaximumNumberOfRegisters_ {
SpvNamedMaximumNumberOfRegistersMax = 0x7fffffff,
} SpvNamedMaximumNumberOfRegisters;
typedef enum SpvMatrixMultiplyAccumulateOperandsShift_ {
SpvMatrixMultiplyAccumulateOperandsMatrixASignedComponentsINTELShift = 0,
SpvMatrixMultiplyAccumulateOperandsMatrixBSignedComponentsINTELShift = 1,
SpvMatrixMultiplyAccumulateOperandsMatrixCBFloat16INTELShift = 2,
SpvMatrixMultiplyAccumulateOperandsMatrixResultBFloat16INTELShift = 3,
SpvMatrixMultiplyAccumulateOperandsMatrixAPackedInt8INTELShift = 4,
SpvMatrixMultiplyAccumulateOperandsMatrixBPackedInt8INTELShift = 5,
SpvMatrixMultiplyAccumulateOperandsMatrixAPackedInt4INTELShift = 6,
SpvMatrixMultiplyAccumulateOperandsMatrixBPackedInt4INTELShift = 7,
SpvMatrixMultiplyAccumulateOperandsMatrixATF32INTELShift = 8,
SpvMatrixMultiplyAccumulateOperandsMatrixBTF32INTELShift = 9,
SpvMatrixMultiplyAccumulateOperandsMatrixAPackedFloat16INTELShift = 10,
SpvMatrixMultiplyAccumulateOperandsMatrixBPackedFloat16INTELShift = 11,
SpvMatrixMultiplyAccumulateOperandsMatrixAPackedBFloat16INTELShift = 12,
SpvMatrixMultiplyAccumulateOperandsMatrixBPackedBFloat16INTELShift = 13,
SpvMatrixMultiplyAccumulateOperandsMax = 0x7fffffff,
} SpvMatrixMultiplyAccumulateOperandsShift;
typedef enum SpvMatrixMultiplyAccumulateOperandsMask_ {
SpvMatrixMultiplyAccumulateOperandsMaskNone = 0,
SpvMatrixMultiplyAccumulateOperandsMatrixASignedComponentsINTELMask = 0x00000001,
SpvMatrixMultiplyAccumulateOperandsMatrixBSignedComponentsINTELMask = 0x00000002,
SpvMatrixMultiplyAccumulateOperandsMatrixCBFloat16INTELMask = 0x00000004,
SpvMatrixMultiplyAccumulateOperandsMatrixResultBFloat16INTELMask = 0x00000008,
SpvMatrixMultiplyAccumulateOperandsMatrixAPackedInt8INTELMask = 0x00000010,
SpvMatrixMultiplyAccumulateOperandsMatrixBPackedInt8INTELMask = 0x00000020,
SpvMatrixMultiplyAccumulateOperandsMatrixAPackedInt4INTELMask = 0x00000040,
SpvMatrixMultiplyAccumulateOperandsMatrixBPackedInt4INTELMask = 0x00000080,
SpvMatrixMultiplyAccumulateOperandsMatrixATF32INTELMask = 0x00000100,
SpvMatrixMultiplyAccumulateOperandsMatrixBTF32INTELMask = 0x00000200,
SpvMatrixMultiplyAccumulateOperandsMatrixAPackedFloat16INTELMask = 0x00000400,
SpvMatrixMultiplyAccumulateOperandsMatrixBPackedFloat16INTELMask = 0x00000800,
SpvMatrixMultiplyAccumulateOperandsMatrixAPackedBFloat16INTELMask = 0x00001000,
SpvMatrixMultiplyAccumulateOperandsMatrixBPackedBFloat16INTELMask = 0x00002000,
} SpvMatrixMultiplyAccumulateOperandsMask;
typedef enum SpvRawAccessChainOperandsShift_ {
SpvRawAccessChainOperandsRobustnessPerComponentNVShift = 0,
SpvRawAccessChainOperandsRobustnessPerElementNVShift = 1,
@ -1484,6 +1539,33 @@ typedef enum SpvFPEncoding_ {
SpvFPEncodingMax = 0x7fffffff,
} SpvFPEncoding;
typedef enum SpvCooperativeVectorMatrixLayout_ {
SpvCooperativeVectorMatrixLayoutRowMajorNV = 0,
SpvCooperativeVectorMatrixLayoutColumnMajorNV = 1,
SpvCooperativeVectorMatrixLayoutInferencingOptimalNV = 2,
SpvCooperativeVectorMatrixLayoutTrainingOptimalNV = 3,
SpvCooperativeVectorMatrixLayoutMax = 0x7fffffff,
} SpvCooperativeVectorMatrixLayout;
typedef enum SpvComponentType_ {
SpvComponentTypeFloat16NV = 0,
SpvComponentTypeFloat32NV = 1,
SpvComponentTypeFloat64NV = 2,
SpvComponentTypeSignedInt8NV = 3,
SpvComponentTypeSignedInt16NV = 4,
SpvComponentTypeSignedInt32NV = 5,
SpvComponentTypeSignedInt64NV = 6,
SpvComponentTypeUnsignedInt8NV = 7,
SpvComponentTypeUnsignedInt16NV = 8,
SpvComponentTypeUnsignedInt32NV = 9,
SpvComponentTypeUnsignedInt64NV = 10,
SpvComponentTypeSignedInt8PackedNV = 1000491000,
SpvComponentTypeUnsignedInt8PackedNV = 1000491001,
SpvComponentTypeFloatE4M3NV = 1000491002,
SpvComponentTypeFloatE5M2NV = 1000491003,
SpvComponentTypeMax = 0x7fffffff,
} SpvComponentType;
typedef enum SpvOp_ {
SpvOpNop = 0,
SpvOpUndef = 1,
@ -1944,6 +2026,11 @@ typedef enum SpvOp_ {
SpvOpReorderThreadWithHintNV = 5280,
SpvOpTypeHitObjectNV = 5281,
SpvOpImageSampleFootprintNV = 5283,
SpvOpTypeCooperativeVectorNV = 5288,
SpvOpCooperativeVectorMatrixMulNV = 5289,
SpvOpCooperativeVectorOuterProductAccumulateNV = 5290,
SpvOpCooperativeVectorReduceSumAccumulateNV = 5291,
SpvOpCooperativeVectorMatrixMulAddNV = 5292,
SpvOpCooperativeMatrixConvertNV = 5293,
SpvOpEmitMeshTasksEXT = 5294,
SpvOpSetMeshOutputsEXT = 5295,
@ -1951,6 +2038,8 @@ typedef enum SpvOp_ {
SpvOpWritePackedPrimitiveIndices4x8NV = 5299,
SpvOpFetchMicroTriangleVertexPositionNV = 5300,
SpvOpFetchMicroTriangleVertexBarycentricNV = 5301,
SpvOpCooperativeVectorLoadNV = 5302,
SpvOpCooperativeVectorStoreNV = 5303,
SpvOpReportIntersectionKHR = 5334,
SpvOpReportIntersectionNV = 5334,
SpvOpIgnoreIntersectionNV = 5335,
@ -1962,6 +2051,8 @@ typedef enum SpvOp_ {
SpvOpTypeAccelerationStructureKHR = 5341,
SpvOpTypeAccelerationStructureNV = 5341,
SpvOpExecuteCallableNV = 5344,
SpvOpRayQueryGetClusterIdNV = 5345,
SpvOpHitObjectGetClusterIdNV = 5346,
SpvOpTypeCooperativeMatrixNV = 5358,
SpvOpCooperativeMatrixLoadNV = 5359,
SpvOpCooperativeMatrixStoreNV = 5360,
@ -1997,6 +2088,19 @@ typedef enum SpvOp_ {
SpvOpConvertSampledImageToUNV = 5396,
SpvOpSamplerImageAddressingModeNV = 5397,
SpvOpRawAccessChainNV = 5398,
SpvOpRayQueryGetIntersectionSpherePositionNV = 5427,
SpvOpRayQueryGetIntersectionSphereRadiusNV = 5428,
SpvOpRayQueryGetIntersectionLSSPositionsNV = 5429,
SpvOpRayQueryGetIntersectionLSSRadiiNV = 5430,
SpvOpRayQueryGetIntersectionLSSHitValueNV = 5431,
SpvOpHitObjectGetSpherePositionNV = 5432,
SpvOpHitObjectGetSphereRadiusNV = 5433,
SpvOpHitObjectGetLSSPositionsNV = 5434,
SpvOpHitObjectGetLSSRadiiNV = 5435,
SpvOpHitObjectIsSphereHitNV = 5436,
SpvOpHitObjectIsLSSHitNV = 5437,
SpvOpRayQueryIsSphereHitNV = 5438,
SpvOpRayQueryIsLSSHitNV = 5439,
SpvOpSubgroupShuffleINTEL = 5571,
SpvOpSubgroupShuffleDownINTEL = 5572,
SpvOpSubgroupShuffleUpINTEL = 5573,
@ -2245,6 +2349,12 @@ typedef enum SpvOp_ {
SpvOpControlBarrierWaitINTEL = 6143,
SpvOpArithmeticFenceEXT = 6145,
SpvOpSubgroupBlockPrefetchINTEL = 6221,
SpvOpSubgroup2DBlockLoadINTEL = 6231,
SpvOpSubgroup2DBlockLoadTransformINTEL = 6232,
SpvOpSubgroup2DBlockLoadTransposeINTEL = 6233,
SpvOpSubgroup2DBlockPrefetchINTEL = 6234,
SpvOpSubgroup2DBlockStoreINTEL = 6235,
SpvOpSubgroupMatrixMultiplyAccumulateINTEL = 6237,
SpvOpGroupIMulKHR = 6401,
SpvOpGroupFMulKHR = 6402,
SpvOpGroupBitwiseAndKHR = 6403,
@ -2719,6 +2829,11 @@ 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 SpvOpTypeCooperativeVectorNV: *hasResult = true; *hasResultType = false; break;
case SpvOpCooperativeVectorMatrixMulNV: *hasResult = true; *hasResultType = true; break;
case SpvOpCooperativeVectorOuterProductAccumulateNV: *hasResult = false; *hasResultType = false; break;
case SpvOpCooperativeVectorReduceSumAccumulateNV: *hasResult = false; *hasResultType = false; break;
case SpvOpCooperativeVectorMatrixMulAddNV: *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;
@ -2726,6 +2841,8 @@ inline void SpvHasResultAndType(SpvOp opcode, bool *hasResult, bool *hasResultTy
case SpvOpWritePackedPrimitiveIndices4x8NV: *hasResult = false; *hasResultType = false; break;
case SpvOpFetchMicroTriangleVertexPositionNV: *hasResult = true; *hasResultType = true; break;
case SpvOpFetchMicroTriangleVertexBarycentricNV: *hasResult = true; *hasResultType = true; break;
case SpvOpCooperativeVectorLoadNV: *hasResult = true; *hasResultType = true; break;
case SpvOpCooperativeVectorStoreNV: *hasResult = false; *hasResultType = false; break;
case SpvOpReportIntersectionKHR: *hasResult = true; *hasResultType = true; break;
case SpvOpIgnoreIntersectionNV: *hasResult = false; *hasResultType = false; break;
case SpvOpTerminateRayNV: *hasResult = false; *hasResultType = false; break;
@ -2735,6 +2852,8 @@ inline void SpvHasResultAndType(SpvOp opcode, bool *hasResult, bool *hasResultTy
case SpvOpRayQueryGetIntersectionTriangleVertexPositionsKHR: *hasResult = true; *hasResultType = true; break;
case SpvOpTypeAccelerationStructureKHR: *hasResult = true; *hasResultType = false; break;
case SpvOpExecuteCallableNV: *hasResult = false; *hasResultType = false; break;
case SpvOpRayQueryGetClusterIdNV: *hasResult = true; *hasResultType = true; break;
case SpvOpHitObjectGetClusterIdNV: *hasResult = true; *hasResultType = true; break;
case SpvOpTypeCooperativeMatrixNV: *hasResult = true; *hasResultType = false; break;
case SpvOpCooperativeMatrixLoadNV: *hasResult = true; *hasResultType = true; break;
case SpvOpCooperativeMatrixStoreNV: *hasResult = false; *hasResultType = false; break;
@ -2769,6 +2888,19 @@ inline void SpvHasResultAndType(SpvOp opcode, bool *hasResult, bool *hasResultTy
case SpvOpConvertSampledImageToUNV: *hasResult = true; *hasResultType = true; break;
case SpvOpSamplerImageAddressingModeNV: *hasResult = false; *hasResultType = false; break;
case SpvOpRawAccessChainNV: *hasResult = true; *hasResultType = true; break;
case SpvOpRayQueryGetIntersectionSpherePositionNV: *hasResult = true; *hasResultType = true; break;
case SpvOpRayQueryGetIntersectionSphereRadiusNV: *hasResult = true; *hasResultType = true; break;
case SpvOpRayQueryGetIntersectionLSSPositionsNV: *hasResult = true; *hasResultType = true; break;
case SpvOpRayQueryGetIntersectionLSSRadiiNV: *hasResult = true; *hasResultType = true; break;
case SpvOpRayQueryGetIntersectionLSSHitValueNV: *hasResult = true; *hasResultType = true; break;
case SpvOpHitObjectGetSpherePositionNV: *hasResult = true; *hasResultType = true; break;
case SpvOpHitObjectGetSphereRadiusNV: *hasResult = true; *hasResultType = true; break;
case SpvOpHitObjectGetLSSPositionsNV: *hasResult = true; *hasResultType = true; break;
case SpvOpHitObjectGetLSSRadiiNV: *hasResult = true; *hasResultType = true; break;
case SpvOpHitObjectIsSphereHitNV: *hasResult = true; *hasResultType = true; break;
case SpvOpHitObjectIsLSSHitNV: *hasResult = true; *hasResultType = true; break;
case SpvOpRayQueryIsSphereHitNV: *hasResult = true; *hasResultType = true; break;
case SpvOpRayQueryIsLSSHitNV: *hasResult = true; *hasResultType = true; break;
case SpvOpSubgroupShuffleINTEL: *hasResult = true; *hasResultType = true; break;
case SpvOpSubgroupShuffleDownINTEL: *hasResult = true; *hasResultType = true; break;
case SpvOpSubgroupShuffleUpINTEL: *hasResult = true; *hasResultType = true; break;
@ -2795,7 +2927,7 @@ inline void SpvHasResultAndType(SpvOp opcode, bool *hasResult, bool *hasResultTy
case SpvOpUMul32x16INTEL: *hasResult = true; *hasResultType = true; break;
case SpvOpConstantFunctionPointerINTEL: *hasResult = true; *hasResultType = true; break;
case SpvOpFunctionPointerCallINTEL: *hasResult = true; *hasResultType = true; break;
case SpvOpAsmTargetINTEL: *hasResult = true; *hasResultType = true; break;
case SpvOpAsmTargetINTEL: *hasResult = true; *hasResultType = false; break;
case SpvOpAsmINTEL: *hasResult = true; *hasResultType = true; break;
case SpvOpAsmCallINTEL: *hasResult = true; *hasResultType = true; break;
case SpvOpAtomicFMinEXT: *hasResult = true; *hasResultType = true; break;
@ -3015,6 +3147,12 @@ inline void SpvHasResultAndType(SpvOp opcode, bool *hasResult, bool *hasResultTy
case SpvOpControlBarrierWaitINTEL: *hasResult = false; *hasResultType = false; break;
case SpvOpArithmeticFenceEXT: *hasResult = true; *hasResultType = true; break;
case SpvOpSubgroupBlockPrefetchINTEL: *hasResult = false; *hasResultType = false; break;
case SpvOpSubgroup2DBlockLoadINTEL: *hasResult = false; *hasResultType = false; break;
case SpvOpSubgroup2DBlockLoadTransformINTEL: *hasResult = false; *hasResultType = false; break;
case SpvOpSubgroup2DBlockLoadTransposeINTEL: *hasResult = false; *hasResultType = false; break;
case SpvOpSubgroup2DBlockPrefetchINTEL: *hasResult = false; *hasResultType = false; break;
case SpvOpSubgroup2DBlockStoreINTEL: *hasResult = false; *hasResultType = false; break;
case SpvOpSubgroupMatrixMultiplyAccumulateINTEL: *hasResult = true; *hasResultType = true; break;
case SpvOpGroupIMulKHR: *hasResult = true; *hasResultType = true; break;
case SpvOpGroupFMulKHR: *hasResult = true; *hasResultType = true; break;
case SpvOpGroupBitwiseAndKHR: *hasResult = true; *hasResultType = true; break;
@ -3042,6 +3180,7 @@ inline const char* SpvSourceLanguageToString(SpvSourceLanguage value) {
case SpvSourceLanguageWGSL: return "WGSL";
case SpvSourceLanguageSlang: return "Slang";
case SpvSourceLanguageZig: return "Zig";
case SpvSourceLanguageRust: return "Rust";
default: return "Unknown";
}
}
@ -3657,12 +3796,19 @@ inline const char* SpvBuiltInToString(SpvBuiltIn value) {
case SpvBuiltInHitMicroTriangleVertexBarycentricsNV: return "HitMicroTriangleVertexBarycentricsNV";
case SpvBuiltInIncomingRayFlagsKHR: return "IncomingRayFlagsKHR";
case SpvBuiltInRayGeometryIndexKHR: return "RayGeometryIndexKHR";
case SpvBuiltInHitIsSphereNV: return "HitIsSphereNV";
case SpvBuiltInHitIsLSSNV: return "HitIsLSSNV";
case SpvBuiltInHitSpherePositionNV: return "HitSpherePositionNV";
case SpvBuiltInWarpsPerSMNV: return "WarpsPerSMNV";
case SpvBuiltInSMCountNV: return "SMCountNV";
case SpvBuiltInWarpIDNV: return "WarpIDNV";
case SpvBuiltInSMIDNV: return "SMIDNV";
case SpvBuiltInHitLSSPositionsNV: return "HitLSSPositionsNV";
case SpvBuiltInHitKindFrontFacingMicroTriangleNV: return "HitKindFrontFacingMicroTriangleNV";
case SpvBuiltInHitKindBackFacingMicroTriangleNV: return "HitKindBackFacingMicroTriangleNV";
case SpvBuiltInHitSphereRadiusNV: return "HitSphereRadiusNV";
case SpvBuiltInHitLSSRadiiNV: return "HitLSSRadiiNV";
case SpvBuiltInClusterIDNV: return "ClusterIDNV";
case SpvBuiltInCullMaskKHR: return "CullMaskKHR";
default: return "Unknown";
}
@ -3868,14 +4014,19 @@ inline const char* SpvCapabilityToString(SpvCapability value) {
case SpvCapabilityShaderInvocationReorderNV: return "ShaderInvocationReorderNV";
case SpvCapabilityBindlessTextureNV: return "BindlessTextureNV";
case SpvCapabilityRayQueryPositionFetchKHR: return "RayQueryPositionFetchKHR";
case SpvCapabilityCooperativeVectorNV: return "CooperativeVectorNV";
case SpvCapabilityAtomicFloat16VectorNV: return "AtomicFloat16VectorNV";
case SpvCapabilityRayTracingDisplacementMicromapNV: return "RayTracingDisplacementMicromapNV";
case SpvCapabilityRawAccessChainsNV: return "RawAccessChainsNV";
case SpvCapabilityRayTracingSpheresGeometryNV: return "RayTracingSpheresGeometryNV";
case SpvCapabilityRayTracingLinearSweptSpheresGeometryNV: return "RayTracingLinearSweptSpheresGeometryNV";
case SpvCapabilityCooperativeMatrixReductionsNV: return "CooperativeMatrixReductionsNV";
case SpvCapabilityCooperativeMatrixConversionsNV: return "CooperativeMatrixConversionsNV";
case SpvCapabilityCooperativeMatrixPerElementOperationsNV: return "CooperativeMatrixPerElementOperationsNV";
case SpvCapabilityCooperativeMatrixTensorAddressingNV: return "CooperativeMatrixTensorAddressingNV";
case SpvCapabilityCooperativeMatrixBlockLoadsNV: return "CooperativeMatrixBlockLoadsNV";
case SpvCapabilityCooperativeVectorTrainingNV: return "CooperativeVectorTrainingNV";
case SpvCapabilityRayTracingClusterAccelerationStructureNV: return "RayTracingClusterAccelerationStructureNV";
case SpvCapabilityTensorAddressingNV: return "TensorAddressingNV";
case SpvCapabilitySubgroupShuffleINTEL: return "SubgroupShuffleINTEL";
case SpvCapabilitySubgroupBufferBlockIOINTEL: return "SubgroupBufferBlockIOINTEL";
@ -3946,6 +4097,10 @@ inline const char* SpvCapabilityToString(SpvCapability value) {
case SpvCapabilityGlobalVariableHostAccessINTEL: return "GlobalVariableHostAccessINTEL";
case SpvCapabilityGlobalVariableFPGADecorationsINTEL: return "GlobalVariableFPGADecorationsINTEL";
case SpvCapabilitySubgroupBufferPrefetchINTEL: return "SubgroupBufferPrefetchINTEL";
case SpvCapabilitySubgroup2DBlockIOINTEL: return "Subgroup2DBlockIOINTEL";
case SpvCapabilitySubgroup2DBlockTransformINTEL: return "Subgroup2DBlockTransformINTEL";
case SpvCapabilitySubgroup2DBlockTransposeINTEL: return "Subgroup2DBlockTransposeINTEL";
case SpvCapabilitySubgroupMatrixMultiplyAccumulateINTEL: return "SubgroupMatrixMultiplyAccumulateINTEL";
case SpvCapabilityGroupUniformArithmeticKHR: return "GroupUniformArithmeticKHR";
case SpvCapabilityMaskedGatherScatterINTEL: return "MaskedGatherScatterINTEL";
case SpvCapabilityCacheControlsINTEL: return "CacheControlsINTEL";
@ -4108,6 +4263,37 @@ inline const char* SpvFPEncodingToString(SpvFPEncoding value) {
}
}
inline const char* SpvCooperativeVectorMatrixLayoutToString(SpvCooperativeVectorMatrixLayout value) {
switch (value) {
case SpvCooperativeVectorMatrixLayoutRowMajorNV: return "RowMajorNV";
case SpvCooperativeVectorMatrixLayoutColumnMajorNV: return "ColumnMajorNV";
case SpvCooperativeVectorMatrixLayoutInferencingOptimalNV: return "InferencingOptimalNV";
case SpvCooperativeVectorMatrixLayoutTrainingOptimalNV: return "TrainingOptimalNV";
default: return "Unknown";
}
}
inline const char* SpvComponentTypeToString(SpvComponentType value) {
switch (value) {
case SpvComponentTypeFloat16NV: return "Float16NV";
case SpvComponentTypeFloat32NV: return "Float32NV";
case SpvComponentTypeFloat64NV: return "Float64NV";
case SpvComponentTypeSignedInt8NV: return "SignedInt8NV";
case SpvComponentTypeSignedInt16NV: return "SignedInt16NV";
case SpvComponentTypeSignedInt32NV: return "SignedInt32NV";
case SpvComponentTypeSignedInt64NV: return "SignedInt64NV";
case SpvComponentTypeUnsignedInt8NV: return "UnsignedInt8NV";
case SpvComponentTypeUnsignedInt16NV: return "UnsignedInt16NV";
case SpvComponentTypeUnsignedInt32NV: return "UnsignedInt32NV";
case SpvComponentTypeUnsignedInt64NV: return "UnsignedInt64NV";
case SpvComponentTypeSignedInt8PackedNV: return "SignedInt8PackedNV";
case SpvComponentTypeUnsignedInt8PackedNV: return "UnsignedInt8PackedNV";
case SpvComponentTypeFloatE4M3NV: return "FloatE4M3NV";
case SpvComponentTypeFloatE5M2NV: return "FloatE5M2NV";
default: return "Unknown";
}
}
inline const char* SpvOpToString(SpvOp value) {
switch (value) {
case SpvOpNop: return "OpNop";
@ -4563,6 +4749,11 @@ inline const char* SpvOpToString(SpvOp value) {
case SpvOpReorderThreadWithHintNV: return "OpReorderThreadWithHintNV";
case SpvOpTypeHitObjectNV: return "OpTypeHitObjectNV";
case SpvOpImageSampleFootprintNV: return "OpImageSampleFootprintNV";
case SpvOpTypeCooperativeVectorNV: return "OpTypeCooperativeVectorNV";
case SpvOpCooperativeVectorMatrixMulNV: return "OpCooperativeVectorMatrixMulNV";
case SpvOpCooperativeVectorOuterProductAccumulateNV: return "OpCooperativeVectorOuterProductAccumulateNV";
case SpvOpCooperativeVectorReduceSumAccumulateNV: return "OpCooperativeVectorReduceSumAccumulateNV";
case SpvOpCooperativeVectorMatrixMulAddNV: return "OpCooperativeVectorMatrixMulAddNV";
case SpvOpCooperativeMatrixConvertNV: return "OpCooperativeMatrixConvertNV";
case SpvOpEmitMeshTasksEXT: return "OpEmitMeshTasksEXT";
case SpvOpSetMeshOutputsEXT: return "OpSetMeshOutputsEXT";
@ -4570,6 +4761,8 @@ inline const char* SpvOpToString(SpvOp value) {
case SpvOpWritePackedPrimitiveIndices4x8NV: return "OpWritePackedPrimitiveIndices4x8NV";
case SpvOpFetchMicroTriangleVertexPositionNV: return "OpFetchMicroTriangleVertexPositionNV";
case SpvOpFetchMicroTriangleVertexBarycentricNV: return "OpFetchMicroTriangleVertexBarycentricNV";
case SpvOpCooperativeVectorLoadNV: return "OpCooperativeVectorLoadNV";
case SpvOpCooperativeVectorStoreNV: return "OpCooperativeVectorStoreNV";
case SpvOpReportIntersectionKHR: return "OpReportIntersectionKHR";
case SpvOpIgnoreIntersectionNV: return "OpIgnoreIntersectionNV";
case SpvOpTerminateRayNV: return "OpTerminateRayNV";
@ -4579,6 +4772,8 @@ inline const char* SpvOpToString(SpvOp value) {
case SpvOpRayQueryGetIntersectionTriangleVertexPositionsKHR: return "OpRayQueryGetIntersectionTriangleVertexPositionsKHR";
case SpvOpTypeAccelerationStructureKHR: return "OpTypeAccelerationStructureKHR";
case SpvOpExecuteCallableNV: return "OpExecuteCallableNV";
case SpvOpRayQueryGetClusterIdNV: return "OpRayQueryGetClusterIdNV";
case SpvOpHitObjectGetClusterIdNV: return "OpHitObjectGetClusterIdNV";
case SpvOpTypeCooperativeMatrixNV: return "OpTypeCooperativeMatrixNV";
case SpvOpCooperativeMatrixLoadNV: return "OpCooperativeMatrixLoadNV";
case SpvOpCooperativeMatrixStoreNV: return "OpCooperativeMatrixStoreNV";
@ -4613,6 +4808,19 @@ inline const char* SpvOpToString(SpvOp value) {
case SpvOpConvertSampledImageToUNV: return "OpConvertSampledImageToUNV";
case SpvOpSamplerImageAddressingModeNV: return "OpSamplerImageAddressingModeNV";
case SpvOpRawAccessChainNV: return "OpRawAccessChainNV";
case SpvOpRayQueryGetIntersectionSpherePositionNV: return "OpRayQueryGetIntersectionSpherePositionNV";
case SpvOpRayQueryGetIntersectionSphereRadiusNV: return "OpRayQueryGetIntersectionSphereRadiusNV";
case SpvOpRayQueryGetIntersectionLSSPositionsNV: return "OpRayQueryGetIntersectionLSSPositionsNV";
case SpvOpRayQueryGetIntersectionLSSRadiiNV: return "OpRayQueryGetIntersectionLSSRadiiNV";
case SpvOpRayQueryGetIntersectionLSSHitValueNV: return "OpRayQueryGetIntersectionLSSHitValueNV";
case SpvOpHitObjectGetSpherePositionNV: return "OpHitObjectGetSpherePositionNV";
case SpvOpHitObjectGetSphereRadiusNV: return "OpHitObjectGetSphereRadiusNV";
case SpvOpHitObjectGetLSSPositionsNV: return "OpHitObjectGetLSSPositionsNV";
case SpvOpHitObjectGetLSSRadiiNV: return "OpHitObjectGetLSSRadiiNV";
case SpvOpHitObjectIsSphereHitNV: return "OpHitObjectIsSphereHitNV";
case SpvOpHitObjectIsLSSHitNV: return "OpHitObjectIsLSSHitNV";
case SpvOpRayQueryIsSphereHitNV: return "OpRayQueryIsSphereHitNV";
case SpvOpRayQueryIsLSSHitNV: return "OpRayQueryIsLSSHitNV";
case SpvOpSubgroupShuffleINTEL: return "OpSubgroupShuffleINTEL";
case SpvOpSubgroupShuffleDownINTEL: return "OpSubgroupShuffleDownINTEL";
case SpvOpSubgroupShuffleUpINTEL: return "OpSubgroupShuffleUpINTEL";
@ -4859,6 +5067,12 @@ inline const char* SpvOpToString(SpvOp value) {
case SpvOpControlBarrierWaitINTEL: return "OpControlBarrierWaitINTEL";
case SpvOpArithmeticFenceEXT: return "OpArithmeticFenceEXT";
case SpvOpSubgroupBlockPrefetchINTEL: return "OpSubgroupBlockPrefetchINTEL";
case SpvOpSubgroup2DBlockLoadINTEL: return "OpSubgroup2DBlockLoadINTEL";
case SpvOpSubgroup2DBlockLoadTransformINTEL: return "OpSubgroup2DBlockLoadTransformINTEL";
case SpvOpSubgroup2DBlockLoadTransposeINTEL: return "OpSubgroup2DBlockLoadTransposeINTEL";
case SpvOpSubgroup2DBlockPrefetchINTEL: return "OpSubgroup2DBlockPrefetchINTEL";
case SpvOpSubgroup2DBlockStoreINTEL: return "OpSubgroup2DBlockStoreINTEL";
case SpvOpSubgroupMatrixMultiplyAccumulateINTEL: return "OpSubgroupMatrixMultiplyAccumulateINTEL";
case SpvOpGroupIMulKHR: return "OpGroupIMulKHR";
case SpvOpGroupFMulKHR: return "OpGroupFMulKHR";
case SpvOpGroupBitwiseAndKHR: return "OpGroupBitwiseAndKHR";