Files
SPIRV-Interpreter/src/spv.zig
T
kbz_8 27172539e5
Build / build (push) Successful in 2m6s
Test / build (push) Successful in 6m5s
working on example and adding opcodes
2026-01-23 02:09:30 +01:00

2396 lines
70 KiB
Zig

//! A jam file of translated SPIR-V header's enums and utils
pub const SpvVoid = void;
pub const SpvByte = u8;
pub const SpvWord = u32;
pub const SpvBool = bool;
pub const SpvMagicNumber: u32 = 0x07230203;
pub const SpvVersion: u32 = 0x00010600;
pub const SpvRevision: u32 = 1;
pub const SpvOpCodeMask: u32 = 0xffff;
pub const SpvWordCountShift: u32 = 16;
pub fn vendorName(id: u32) []const u8 {
return switch (id) {
0 => "Khronos",
1 => "LunarG",
2 => "Valve",
3 => "Codeplay",
4 => "NVIDIA",
5 => "ARM",
6 => "Khronos LLVM/SPIR-V Translator",
7 => "Khronos SPIR-V Tools Assembler",
8 => "Khronos Glslang Reference Front End",
9 => "Qualcomm",
10 => "AMD",
11 => "Intel",
12 => "Imagination",
13 => "Google Shaderc over Glslang",
14 => "Google spiregg",
15 => "Google rspirv",
16 => "X-LEGEND Mesa-IR/SPIR-V Translator",
17 => "Khronos SPIR-V Tools Linker",
18 => "Wine VKD3D Shader Compiler",
19 => "Tellusim Clay Shader Compiler",
20 => "W3C WebGPU Group WHLSL Shader Translator",
21 => "Google Clspv",
22 => "LLVM MLIR SPIR-V Serializer",
23 => "Google Tint Compiler",
24 => "Google ANGLE Shader Compiler",
25 => "Netease Games Messiah Shader Compiler",
26 => "Xenia Xenia Emulator Microcode Translator",
27 => "Embark Studios Rust GPU Compiler Backend",
28 => "gfx-rs community Naga",
29 => "Mikkosoft Productions MSP Shader Compiler",
30 => "SpvGenTwo community SpvGenTwo SPIR-V IR Tools",
31 => "Google Skia SkSL",
32 => "TornadoVM Beehive SPIRV Toolkit",
33 => "DragonJoker ShaderWriter",
34 => "Rayan Hatout SPIRVSmith",
35 => "Saarland University Shady",
36 => "Taichi Graphics Taichi",
37 => "heroseh Hero C Compiler",
38 => "Meta SparkSL",
39 => "SirLynix Nazara ShaderLang Compiler",
40 => "Khronos Slang Compiler",
41 => "Zig Software Foundation Zig Compiler",
42 => "Rendong Liang spq",
43 => "LLVM LLVM SPIR-V Backend",
44 => "Robert Konrad Kongruent",
45 => "Kitsunebi Games Nuvk SPIR-V Emitter and DLSL compiler",
46 => "Nintendo",
47 => "ARM",
48 => "Goopax",
49 => "Icyllis Milica Arc3D Shader Compiler",
else => "Unknown",
};
}
pub const SpvBinding = struct {
set: SpvWord,
binding: SpvWord,
};
pub const SpvSourceLanguage = enum(u32) {
Unknown = 0,
ESSL = 1,
GLSL = 2,
OpenCL_C = 3,
OpenCL_CPP = 4,
HLSL = 5,
CPP_for_OpenCL = 6,
SYCL = 7,
HERO_C = 8,
NZSL = 9,
WGSL = 10,
Slang = 11,
Zig = 12,
Rust = 13,
Max = 0x7fffffff,
};
pub const SpvExecutionModel = enum(u32) {
Vertex = 0,
TessellationControl = 1,
TessellationEvaluation = 2,
Geometry = 3,
Fragment = 4,
GLCompute = 5,
Kernel = 6,
TaskNV = 5267,
MeshNV = 5268,
RayGeneration = 5313,
Intersection = 5314,
AnyHit = 5315,
ClosestHit = 5316,
Miss = 5317,
Callable = 5318,
TaskEXT = 5364,
MeshEXT = 5365,
Max = 0x7fffffff,
};
pub const SpvAddressingModel = enum(u32) {
Logical = 0,
Physical32 = 1,
Physical64 = 2,
PhysicalStorageBuffer64 = 5348,
Max = 0x7fffffff,
};
pub const SpvMemoryModel = enum(u32) {
Simple = 0,
GLSL450 = 1,
OpenCL = 2,
Vulkan = 3,
Max = 0x7fffffff,
};
pub const SpvExecutionMode = enum(u32) {
Invocations = 0,
SpacingEqual = 1,
SpacingFractionalEven = 2,
SpacingFractionalOdd = 3,
VertexOrderCw = 4,
VertexOrderCcw = 5,
PixelCenterInteger = 6,
OriginUpperLeft = 7,
OriginLowerLeft = 8,
EarlyFragmentTests = 9,
PointMode = 10,
Xfb = 11,
DepthReplacing = 12,
DepthGreater = 14,
DepthLess = 15,
DepthUnchanged = 16,
LocalSize = 17,
LocalSizeHint = 18,
InputPoints = 19,
InputLines = 20,
InputLinesAdjacency = 21,
Triangles = 22,
InputTrianglesAdjacency = 23,
Quads = 24,
Isolines = 25,
OutputVertices = 26,
OutputPoints = 27,
OutputLineStrip = 28,
OutputTriangleStrip = 29,
VecTypeHint = 30,
ContractionOff = 31,
Initializer = 33,
Finalizer = 34,
SubgroupSize = 35,
SubgroupsPerWorkgroup = 36,
SubgroupsPerWorkgroupId = 37,
LocalSizeId = 38,
LocalSizeHintId = 39,
NonCoherentColorAttachmentReadEXT = 4169,
NonCoherentDepthAttachmentReadEXT = 4170,
NonCoherentStencilAttachmentReadEXT = 4171,
SubgroupUniformControlFlowKHR = 4421,
PostDepthCoverage = 4446,
DenormPreserve = 4459,
DenormFlushToZero = 4460,
SignedZeroInfNanPreserve = 4461,
RoundingModeRTE = 4462,
RoundingModeRTZ = 4463,
NonCoherentTileAttachmentReadQCOM = 4489,
TileShadingRateQCOM = 4490,
EarlyAndLateFragmentTestsAMD = 5017,
StencilRefReplacingEXT = 5027,
CoalescingAMDX = 5069,
IsApiEntryAMDX = 5070,
MaxNodeRecursionAMDX = 5071,
StaticNumWorkgroupsAMDX = 5072,
ShaderIndexAMDX = 5073,
MaxNumWorkgroupsAMDX = 5077,
StencilRefUnchangedFrontAMD = 5079,
StencilRefGreaterFrontAMD = 5080,
StencilRefLessFrontAMD = 5081,
StencilRefUnchangedBackAMD = 5082,
StencilRefGreaterBackAMD = 5083,
StencilRefLessBackAMD = 5084,
QuadDerivativesKHR = 5088,
RequireFullQuadsKHR = 5089,
SharesInputWithAMDX = 5102,
OutputLines = 5269,
OutputPrimitives = 5270,
DerivativeGroupQuads = 5289,
DerivativeGroupLinear = 5290,
OutputTriangles = 5298,
PixelInterlockOrderedEXT = 5366,
PixelInterlockUnorderedEXT = 5367,
SampleInterlockOrderedEXT = 5368,
SampleInterlockUnorderedEXT = 5369,
ShadingRateInterlockOrderedEXT = 5370,
ShadingRateInterlockUnorderedEXT = 5371,
Shader64BitIndexingEXT = 5427,
SharedLocalMemorySizeINTEL = 5618,
RoundingModeRTPINTEL = 5620,
RoundingModeRTNINTEL = 5621,
FloatingPointModeALTINTEL = 5622,
FloatingPointModeIEEEINTEL = 5623,
MaxWorkgroupSizeINTEL = 5893,
MaxWorkDimINTEL = 5894,
NoGlobalOffsetINTEL = 5895,
NumSIMDWorkitemsINTEL = 5896,
SchedulerTargetFmaxMhzINTEL = 5903,
MaximallyReconvergesKHR = 6023,
FPFastMathDefault = 6028,
StreamingInterfaceINTEL = 6154,
RegisterMapInterfaceINTEL = 6160,
NamedBarrierCountINTEL = 6417,
MaximumRegistersINTEL = 6461,
MaximumRegistersIdINTEL = 6462,
NamedMaximumRegistersINTEL = 6463,
Max = 0x7fffffff,
};
pub const SpvStorageClass = enum(u32) {
UniformConstant = 0,
Input = 1,
Uniform = 2,
Output = 3,
Workgroup = 4,
CrossWorkgroup = 5,
Private = 6,
Function = 7,
Generic = 8,
PushConstant = 9,
AtomicCounter = 10,
Image = 11,
StorageBuffer = 12,
TileImageEXT = 4172,
TileAttachmentQCOM = 4491,
NodePayloadAMDX = 5068,
CallableData = 5328,
IncomingCallableData = 5329,
RayPayload = 5338,
HitAttribute = 5339,
IncomingRayPayload = 5342,
ShaderRecordBuffer = 5343,
PhysicalStorageBuffer = 5349,
HitObjectAttributeNV = 5385,
TaskPayloadWorkgroupEXT = 5402,
HitObjectAttributeEXT = 5411,
CodeSectionINTEL = 5605,
DeviceOnly = 5936,
HostOnly = 5937,
Max = 0x7fffffff,
};
pub const SpvDim = enum(u32) {
_1D = 0,
_2D = 1,
_3D = 2,
Cube = 3,
Rect = 4,
Buffer = 5,
SubpassData = 6,
TileImageDataEXT = 4173,
Max = 0x7fffffff,
};
pub const SpvSamplerAddressingMode = enum(u32) {
None = 0,
ClampToEdge = 1,
Clamp = 2,
Repeat = 3,
RepeatMirrored = 4,
Max = 0x7fffffff,
};
pub const SpvSamplerFilterMode = enum(u32) {
Nearest = 0,
Linear = 1,
Max = 0x7fffffff,
};
pub const SpvImageFormat = enum(u32) {
Unknown = 0,
Rgba32f = 1,
Rgba16f = 2,
R32f = 3,
Rgba8 = 4,
Rgba8Snorm = 5,
Rg32f = 6,
Rg16f = 7,
R11fG11fB10f = 8,
R16f = 9,
Rgba16 = 10,
Rgb10A2 = 11,
Rg16 = 12,
Rg8 = 13,
R16 = 14,
R8 = 15,
Rgba16Snorm = 16,
Rg16Snorm = 17,
Rg8Snorm = 18,
R16Snorm = 19,
R8Snorm = 20,
Rgba32i = 21,
Rgba16i = 22,
Rgba8i = 23,
R32i = 24,
Rg32i = 25,
Rg16i = 26,
Rg8i = 27,
R16i = 28,
R8i = 29,
Rgba32ui = 30,
Rgba16ui = 31,
Rgba8ui = 32,
R32ui = 33,
Rgb10a2ui = 34,
Rg32ui = 35,
Rg16ui = 36,
Rg8ui = 37,
R16ui = 38,
R8ui = 39,
R64ui = 40,
R64i = 41,
Max = 0x7fffffff,
};
pub const SpvImageChannelOrder = enum(u32) {
R = 0,
A = 1,
RG = 2,
RA = 3,
RGB = 4,
RGBA = 5,
BGRA = 6,
ARGB = 7,
Intensity = 8,
Luminance = 9,
Rx = 10,
RGx = 11,
RGBx = 12,
Depth = 13,
DepthStencil = 14,
sRGB = 15,
sRGBx = 16,
sRGBA = 17,
sBGRA = 18,
ABGR = 19,
Max = 0x7fffffff,
};
pub const SpvImageChannelDataType = enum(u32) {
SnormInt8 = 0,
SnormInt16 = 1,
UnormInt8 = 2,
UnormInt16 = 3,
UnormShort565 = 4,
UnormShort555 = 5,
UnormInt101010 = 6,
SignedInt8 = 7,
SignedInt16 = 8,
SignedInt32 = 9,
UnsignedInt8 = 10,
UnsignedInt16 = 11,
UnsignedInt32 = 12,
HalfFloat = 13,
Float = 14,
UnormInt24 = 15,
UnormInt101010_2 = 16,
UnormInt10X6EXT = 17,
UnsignedIntRaw10EXT = 19,
UnsignedIntRaw12EXT = 20,
UnormInt2_101010EXT = 21,
UnsignedInt10X6EXT = 22,
UnsignedInt12X4EXT = 23,
UnsignedInt14X2EXT = 24,
UnormInt12X4EXT = 25,
UnormInt14X2EXT = 26,
Max = 0x7fffffff,
};
pub const SpvImageOperandsShift = enum(u32) {
BiasShift = 0,
LodShift = 1,
GradShift = 2,
ConstOffsetShift = 3,
OffsetShift = 4,
ConstOffsetsShift = 5,
SampleShift = 6,
MinLodShift = 7,
MakeTexelAvailableShift = 8,
MakeTexelVisibleShift = 9,
NonPrivateTexelShift = 10,
VolatileTexelShift = 11,
SignExtendShift = 12,
ZeroExtendShift = 13,
NontemporalShift = 14,
OffsetsShift = 16,
Max = 0x7fffffff,
};
pub const SpvImageOperandsMask = enum(u32) {
None = 0,
BiasMask = 0x00000001,
LodMask = 0x00000002,
GradMask = 0x00000004,
ConstOffsetMask = 0x00000008,
OffsetMask = 0x00000010,
ConstOffsetsMask = 0x00000020,
SampleMask = 0x00000040,
MinLodMask = 0x00000080,
MakeTexelAvailableMask = 0x00000100,
MakeTexelVisibleMask = 0x00000200,
NonPrivateTexelMask = 0x00000400,
VolatileTexelMask = 0x00000800,
SignExtendMask = 0x00001000,
ZeroExtendMask = 0x00002000,
NontemporalMask = 0x00004000,
OffsetsMask = 0x00010000,
};
pub const SpvFPFastMathModeShift = enum(u32) {
NotNaNShift = 0,
NotInfShift = 1,
NSZShift = 2,
AllowRecipShift = 3,
FastShift = 4,
AllowContractShift = 16,
AllowReassocShift = 17,
AllowTransformShift = 18,
Max = 0x7fffffff,
};
pub const SpvFPFastMathModeMask = enum(u32) {
None = 0,
NotNaNMask = 0x00000001,
NotInfMask = 0x00000002,
NSZMask = 0x00000004,
AllowRecipMask = 0x00000008,
FastMask = 0x00000010,
AllowContractMask = 0x00010000,
AllowReassocMask = 0x00020000,
AllowTransformMask = 0x00040000,
};
pub const SpvFPRoundingMode = enum(u32) {
RTE = 0,
RTZ = 1,
RTP = 2,
RTN = 3,
Max = 0x7fffffff,
};
pub const SpvLinkageType = enum(u32) {
Export = 0,
Import = 1,
LinkOnceODR = 2,
Max = 0x7fffffff,
};
pub const SpvAccessQualifier = enum(u32) {
ReadOnly = 0,
WriteOnly = 1,
ReadWrite = 2,
Max = 0x7fffffff,
};
pub const SpvFunctionParameterAttribute = enum(u32) {
Zext = 0,
Sext = 1,
ByVal = 2,
Sret = 3,
NoAlias = 4,
NoCapture = 5,
NoWrite = 6,
NoReadWrite = 7,
RuntimeAligned = 5940,
Max = 0x7fffffff,
};
pub const SpvDecoration = enum(u32) {
RelaxedPrecision = 0,
SpecId = 1,
Block = 2,
BufferBlock = 3,
RowMajor = 4,
ColMajor = 5,
ArrayStride = 6,
MatrixStride = 7,
GLSLShared = 8,
GLSLPacked = 9,
CPacked = 10,
BuiltIn = 11,
NoPerspective = 13,
Flat = 14,
Patch = 15,
Centroid = 16,
Sample = 17,
Invariant = 18,
Restrict = 19,
Aliased = 20,
Volatile = 21,
Constant = 22,
Coherent = 23,
NonWritable = 24,
NonReadable = 25,
Uniform = 26,
UniformId = 27,
SaturatedConversion = 28,
Stream = 29,
Location = 30,
Component = 31,
Index = 32,
Binding = 33,
DescriptorSet = 34,
Offset = 35,
XfbBuffer = 36,
XfbStride = 37,
FuncParamAttr = 38,
FPRoundingMode = 39,
FPFastMathMode = 40,
LinkageAttributes = 41,
NoContraction = 42,
InputAttachmentIndex = 43,
Alignment = 44,
MaxByteOffset = 45,
AlignmentId = 46,
MaxByteOffsetId = 47,
SaturatedToLargestFloat8NormalConversionEXT = 4216,
NoSignedWrap = 4469,
NoUnsignedWrap = 4470,
WeightTextureQCOM = 4487,
BlockMatchTextureQCOM = 4488,
BlockMatchSamplerQCOM = 4499,
ExplicitInterpAMD = 4999,
NodeSharesPayloadLimitsWithAMDX = 5019,
NodeMaxPayloadsAMDX = 5020,
TrackFinishWritingAMDX = 5078,
PayloadNodeNameAMDX = 5091,
PayloadNodeBaseIndexAMDX = 5098,
PayloadNodeSparseArrayAMDX = 5099,
PayloadNodeArraySizeAMDX = 5100,
PayloadDispatchIndirectAMDX = 5105,
OverrideCoverageNV = 5248,
PassthroughNV = 5250,
ViewportRelativeNV = 5252,
SecondaryViewportRelativeNV = 5256,
PerPrimitive = 5271,
PerViewNV = 5272,
PerTaskNV = 5273,
PerVertex = 5285,
NonUniform = 5300,
RestrictPointer = 5355,
AliasedPointer = 5356,
HitObjectShaderRecordBufferNV = 5386,
HitObjectShaderRecordBufferEXT = 5389,
BindlessSamplerNV = 5398,
BindlessImageNV = 5399,
BoundSamplerNV = 5400,
BoundImageNV = 5401,
SIMTCallINTEL = 5599,
ReferencedIndirectlyINTEL = 5602,
ClobberINTEL = 5607,
SideEffectsINTEL = 5608,
VectorComputeVariableINTEL = 5624,
FuncParamIOKindINTEL = 5625,
VectorComputeFunctionINTEL = 5626,
StackCallINTEL = 5627,
GlobalVariableOffsetINTEL = 5628,
CounterBuffer = 5634,
UserSemantic = 5635,
UserTypeGOOGLE = 5636,
FunctionRoundingModeINTEL = 5822,
FunctionDenormModeINTEL = 5823,
Register = 5825,
Memory = 5826,
Numbanks = 5827,
Bankwidth = 5828,
MaxPrivateCopies = 5829,
Singlepump = 5830,
Doublepump = 5831,
MaxReplicates = 5832,
SimpleDualPort = 5833,
Merge = 5834,
BankBits = 5835,
ForcePow2Depth = 5836,
Stridesize = 5883,
Wordsize = 5884,
TrueDualPort = 5885,
BurstCoalesce = 5899,
CacheSize = 5900,
DontStaticallyCoalesce = 5901,
Prefetch = 5902,
StallEnable = 5905,
FuseLoopsInFunction = 5907,
MathOpDSPMode = 5909,
AliasScopeINTEL = 5914,
NoAliasINTEL = 5915,
InitiationInterval = 5917,
MaxConcurrency = 5918,
PipelineEnable = 5919,
BufferLocation = 5921,
IOPipeStorage = 5944,
FunctionFloatingPointModeINTEL = 6080,
SingleElementVectorINTEL = 6085,
VectorComputeCallableFunctionINTEL = 6087,
MediaBlockIOINTEL = 6140,
StallFree = 6151,
FPMaxErrorDecorationINTEL = 6170,
LatencyControlLabel = 6172,
LatencyControlConstraint = 6173,
ConduitKernelArgument = 6175,
RegisterMapKernelArgument = 6176,
MMHostInterfaceAddressWidth = 6177,
MMHostInterfaceDataWidth = 6178,
MMHostInterfaceLatency = 6179,
MMHostInterfaceReadWriteMode = 6180,
MMHostInterfaceMaxBurst = 6181,
MMHostInterfaceWaitRequest = 6182,
StableKernelArgument = 6183,
HostAccessINTEL = 6188,
InitMode = 6190,
ImplementInRegisterMap = 6191,
ConditionalINTEL = 6247,
CacheControlLoadINTEL = 6442,
CacheControlStoreINTEL = 6443,
Max = 0x7fffffff,
};
pub const SpvBuiltIn = enum(u32) {
Position = 0,
PointSize = 1,
ClipDistance = 3,
CullDistance = 4,
VertexId = 5,
InstanceId = 6,
PrimitiveId = 7,
InvocationId = 8,
Layer = 9,
ViewportIndex = 10,
TessLevelOuter = 11,
TessLevelInner = 12,
TessCoord = 13,
PatchVertices = 14,
FragCoord = 15,
PointCoord = 16,
FrontFacing = 17,
SampleId = 18,
SamplePosition = 19,
SampleMask = 20,
FragDepth = 22,
HelperInvocation = 23,
NumWorkgroups = 24,
WorkgroupSize = 25,
WorkgroupId = 26,
LocalInvocationId = 27,
GlobalInvocationId = 28,
LocalInvocationIndex = 29,
WorkDim = 30,
GlobalSize = 31,
EnqueuedWorkgroupSize = 32,
GlobalOffset = 33,
GlobalLinearId = 34,
SubgroupSize = 36,
SubgroupMaxSize = 37,
NumSubgroups = 38,
NumEnqueuedSubgroups = 39,
SubgroupId = 40,
SubgroupLocalInvocationId = 41,
VertexIndex = 42,
InstanceIndex = 43,
CoreIDARM = 4160,
CoreCountARM = 4161,
CoreMaxIDARM = 4162,
WarpIDARM = 4163,
WarpMaxIDARM = 4164,
SubgroupEqMask = 4416,
SubgroupGeMask = 4417,
SubgroupGtMask = 4418,
SubgroupLeMask = 4419,
SubgroupLtMask = 4420,
BaseVertex = 4424,
BaseInstance = 4425,
DrawIndex = 4426,
PrimitiveShadingRateKHR = 4432,
DeviceIndex = 4438,
ViewIndex = 4440,
ShadingRateKHR = 4444,
TileOffsetQCOM = 4492,
TileDimensionQCOM = 4493,
TileApronSizeQCOM = 4494,
BaryCoordNoPerspAMD = 4992,
BaryCoordNoPerspCentroidAMD = 4993,
BaryCoordNoPerspSampleAMD = 4994,
BaryCoordSmoothAMD = 4995,
BaryCoordSmoothCentroidAMD = 4996,
BaryCoordSmoothSampleAMD = 4997,
BaryCoordPullModelAMD = 4998,
FragStencilRefEXT = 5014,
RemainingRecursionLevelsAMDX = 5021,
ShaderIndexAMDX = 5073,
ViewportMaskNV = 5253,
SecondaryPositionNV = 5257,
SecondaryViewportMaskNV = 5258,
PositionPerViewNV = 5261,
ViewportMaskPerViewNV = 5262,
FullyCoveredEXT = 5264,
TaskCountNV = 5274,
PrimitiveCountNV = 5275,
PrimitiveIndicesNV = 5276,
ClipDistancePerViewNV = 5277,
CullDistancePerViewNV = 5278,
LayerPerViewNV = 5279,
MeshViewCountNV = 5280,
MeshViewIndicesNV = 5281,
BaryCoord = 5286,
BaryCoordNoPersp = 5287,
FragmentSize = 5292,
FragInvocationCount = 5293,
PrimitivePointIndicesEXT = 5294,
PrimitiveLineIndicesEXT = 5295,
PrimitiveTriangleIndicesEXT = 5296,
CullPrimitiveEXT = 5299,
LaunchId = 5319,
LaunchSize = 5320,
WorldRayOrigin = 5321,
WorldRayDirection = 5322,
ObjectRayOrigin = 5323,
ObjectRayDirection = 5324,
RayTmin = 5325,
RayTmax = 5326,
InstanceCustomIndex = 5327,
ObjectToWorld = 5330,
WorldToObject = 5331,
HitTNV = 5332,
HitKind = 5333,
CurrentRayTimeNV = 5334,
HitTriangleVertexPositionsKHR = 5335,
HitMicroTriangleVertexPositionsNV = 5337,
HitMicroTriangleVertexBarycentricsNV = 5344,
IncomingRayFlags = 5351,
RayGeometryIndexKHR = 5352,
HitIsSphereNV = 5359,
HitIsLSSNV = 5360,
HitSpherePositionNV = 5361,
WarpsPerSMNV = 5374,
SMCountNV = 5375,
WarpIDNV = 5376,
SMIDNV = 5377,
HitLSSPositionsNV = 5396,
HitKindFrontFacingMicroTriangleNV = 5405,
HitKindBackFacingMicroTriangleNV = 5406,
HitSphereRadiusNV = 5420,
HitLSSRadiiNV = 5421,
ClusterIDNV = 5436,
CullMaskKHR = 6021,
Max = 0x7fffffff,
};
pub const SpvSelectionControlShift = enum(u32) {
FlattenShift = 0,
DontFlattenShift = 1,
Max = 0x7fffffff,
};
pub const SpvSelectionControlMask = enum(u32) {
None = 0,
FlattenMask = 0x00000001,
DontFlattenMask = 0x00000002,
};
pub const SpvLoopControlShift = enum(u32) {
UnrollShift = 0,
DontUnrollShift = 1,
DependencyInfiniteShift = 2,
DependencyLengthShift = 3,
MinIterationsShift = 4,
MaxIterationsShift = 5,
IterationMultipleShift = 6,
PeelCountShift = 7,
PartialCountShift = 8,
InitiationIntervalShift = 16,
MaxConcurrencyShift = 17,
DependencyArrayShift = 18,
PipelineEnableShift = 19,
LoopCoalesceShift = 20,
MaxInterleavingShift = 21,
SpeculatedIterationsShift = 22,
NoFusionShift = 23,
LoopCountShift = 24,
MaxReinvocationDelayShift = 25,
Max = 0x7fffffff,
};
pub const SpvLoopControlMask = enum(u32) {
None = 0,
UnrollMask = 0x00000001,
DontUnrollMask = 0x00000002,
DependencyInfiniteMask = 0x00000004,
DependencyLengthMask = 0x00000008,
MinIterationsMask = 0x00000010,
MaxIterationsMask = 0x00000020,
IterationMultipleMask = 0x00000040,
PeelCountMask = 0x00000080,
PartialCountMask = 0x00000100,
InitiationIntervalMask = 0x00010000,
MaxConcurrencyMask = 0x00020000,
DependencyArrayMask = 0x00040000,
PipelineEnableMask = 0x00080000,
LoopCoalesceMask = 0x00100000,
MaxInterleavingMask = 0x00200000,
SpeculatedIterationsMask = 0x00400000,
NoFusionMask = 0x00800000,
LoopCountMask = 0x01000000,
MaxReinvocationDelayMask = 0x02000000,
};
pub const SpvFunctionControlShift = enum(u32) {
InlineShift = 0,
DontInlineShift = 1,
PureShift = 2,
ConstShift = 3,
OptNoneEXTShift = 16,
Max = 0x7fffffff,
};
pub const SpvFunctionControlMask = enum(u32) {
None = 0,
InlineMask = 0x00000001,
DontInlineMask = 0x00000002,
PureMask = 0x00000004,
ConstMask = 0x00000008,
OptNoneEXTMask = 0x00010000,
};
pub const SpvMemorySemanticsShift = enum(u32) {
AcquireShift = 1,
ReleaseShift = 2,
AcquireReleaseShift = 3,
SequentiallyConsistentShift = 4,
UniformMemoryShift = 6,
SubgroupMemoryShift = 7,
WorkgroupMemoryShift = 8,
CrossWorkgroupMemoryShift = 9,
AtomicCounterMemoryShift = 10,
ImageMemoryShift = 11,
OutputMemoryShift = 12,
MakeAvailableShift = 13,
MakeVisibleShift = 14,
VolatileShift = 15,
Max = 0x7fffffff,
};
pub const SpvMemorySemanticsMask = enum(u32) {
None = 0,
AcquireMask = 0x00000002,
ReleaseMask = 0x00000004,
AcquireReleaseMask = 0x00000008,
SequentiallyConsistentMask = 0x00000010,
UniformMemoryMask = 0x00000040,
SubgroupMemoryMask = 0x00000080,
WorkgroupMemoryMask = 0x00000100,
CrossWorkgroupMemoryMask = 0x00000200,
AtomicCounterMemoryMask = 0x00000400,
ImageMemoryMask = 0x00000800,
OutputMemoryMask = 0x00001000,
MakeAvailableMask = 0x00002000,
MakeVisibleMask = 0x00004000,
VolatileMask = 0x00008000,
};
pub const SpvMemoryAccessShift = enum(u32) {
VolatileShift = 0,
AlignedShift = 1,
NontemporalShift = 2,
MakePointerAvailableShift = 3,
MakePointerVisibleShift = 4,
NonPrivatePointerShift = 5,
AliasScopeINTELMaskShift = 16,
NoAliasINTELMaskShift = 17,
Max = 0x7fffffff,
};
pub const SpvMemoryAccessMask = enum(u32) {
None = 0,
VolatileMask = 0x00000001,
AlignedMask = 0x00000002,
NontemporalMask = 0x00000004,
MakePointerAvailableMask = 0x00000008,
MakePointerVisibleMask = 0x00000010,
NonPrivatePointerMask = 0x00000020,
AliasScopeINTELMaskMask = 0x00010000,
NoAliasINTELMaskMask = 0x00020000,
};
pub const SpvScope = enum(u32) {
CrossDevice = 0,
Device = 1,
Workgroup = 2,
Subgroup = 3,
Invocation = 4,
QueueFamily = 5,
ShaderCallKHR = 6,
Max = 0x7fffffff,
};
pub const SpvGroupOperation = enum(u32) {
Reduce = 0,
InclusiveScan = 1,
ExclusiveScan = 2,
ClusteredReduce = 3,
PartitionedReduceNV = 6,
PartitionedInclusiveScanNV = 7,
PartitionedExclusiveScanNV = 8,
Max = 0x7fffffff,
};
pub const SpvKernelEnqueueFlags = enum(u32) {
NoWait = 0,
WaitKernel = 1,
WaitWorkGroup = 2,
Max = 0x7fffffff,
};
pub const SpvKernelProfilingInfoShift = enum(u32) {
CmdExecTimeShift = 0,
Max = 0x7fffffff,
};
pub const SpvKernelProfilingInfoMask = enum(u32) {
None = 0,
CmdExecTimeMask = 0x00000001,
};
pub const SpvCapability = enum(u32) {
Matrix = 0,
Shader = 1,
Geometry = 2,
Tessellation = 3,
Addresses = 4,
Linkage = 5,
Kernel = 6,
Vector16 = 7,
Float16Buffer = 8,
Float16 = 9,
Float64 = 10,
Int64 = 11,
Int64Atomics = 12,
ImageBasic = 13,
ImageReadWrite = 14,
ImageMipmap = 15,
Pipes = 17,
Groups = 18,
DeviceEnqueue = 19,
LiteralSampler = 20,
AtomicStorage = 21,
Int16 = 22,
TessellationPointSize = 23,
GeometryPointSize = 24,
ImageGatherExtended = 25,
StorageImageMultisample = 27,
UniformBufferArrayDynamicIndexing = 28,
SampledImageArrayDynamicIndexing = 29,
StorageBufferArrayDynamicIndexing = 30,
StorageImageArrayDynamicIndexing = 31,
ClipDistance = 32,
CullDistance = 33,
ImageCubeArray = 34,
SampleRateShading = 35,
ImageRect = 36,
SampledRect = 37,
GenericPointer = 38,
Int8 = 39,
InputAttachment = 40,
SparseResidency = 41,
MinLod = 42,
Sampled1D = 43,
Image1D = 44,
SampledCubeArray = 45,
SampledBuffer = 46,
ImageBuffer = 47,
ImageMSArray = 48,
StorageImageExtendedFormats = 49,
ImageQuery = 50,
DerivativeControl = 51,
InterpolationFunction = 52,
TransformFeedback = 53,
GeometryStreams = 54,
StorageImageReadWithoutFormat = 55,
StorageImageWriteWithoutFormat = 56,
MultiViewport = 57,
SubgroupDispatch = 58,
NamedBarrier = 59,
PipeStorage = 60,
GroupNonUniform = 61,
GroupNonUniformVote = 62,
GroupNonUniformArithmetic = 63,
GroupNonUniformBallot = 64,
GroupNonUniformShuffle = 65,
GroupNonUniformShuffleRelative = 66,
GroupNonUniformClustered = 67,
GroupNonUniformQuad = 68,
ShaderLayer = 69,
ShaderViewportIndex = 70,
UniformDecoration = 71,
CoreBuiltinsARM = 4165,
TileImageColorReadAccessEXT = 4166,
TileImageDepthReadAccessEXT = 4167,
TileImageStencilReadAccessEXT = 4168,
TensorsARM = 4174,
StorageTensorArrayDynamicIndexingARM = 4175,
StorageTensorArrayNonUniformIndexingARM = 4176,
GraphARM = 4191,
CooperativeMatrixLayoutsARM = 4201,
Float8EXT = 4212,
Float8CooperativeMatrixEXT = 4213,
FragmentShadingRateKHR = 4422,
SubgroupBallotKHR = 4423,
DrawParameters = 4427,
WorkgroupMemoryExplicitLayoutKHR = 4428,
WorkgroupMemoryExplicitLayout8BitAccessKHR = 4429,
WorkgroupMemoryExplicitLayout16BitAccessKHR = 4430,
SubgroupVoteKHR = 4431,
StorageBuffer16BitAccess = 4433,
UniformAndStorageBuffer16BitAccess = 4434,
StoragePushConstant16 = 4435,
StorageInputOutput16 = 4436,
DeviceGroup = 4437,
MultiView = 4439,
VariablePointersStorageBuffer = 4441,
VariablePointers = 4442,
AtomicStorageOps = 4445,
SampleMaskPostDepthCoverage = 4447,
StorageBuffer8BitAccess = 4448,
UniformAndStorageBuffer8BitAccess = 4449,
StoragePushConstant8 = 4450,
DenormPreserve = 4464,
DenormFlushToZero = 4465,
SignedZeroInfNanPreserve = 4466,
RoundingModeRTE = 4467,
RoundingModeRTZ = 4468,
RayQueryProvisionalKHR = 4471,
RayQueryKHR = 4472,
UntypedPointersKHR = 4473,
RayTraversalPrimitiveCullingKHR = 4478,
RayTracingKHR = 4479,
TextureSampleWeightedQCOM = 4484,
TextureBoxFilterQCOM = 4485,
TextureBlockMatchQCOM = 4486,
TileShadingQCOM = 4495,
CooperativeMatrixConversionQCOM = 4496,
TextureBlockMatch2QCOM = 4498,
Float16ImageAMD = 5008,
ImageGatherBiasLodAMD = 5009,
FragmentMaskAMD = 5010,
StencilExportEXT = 5013,
ImageReadWriteLodAMD = 5015,
Int64ImageEXT = 5016,
ShaderClockKHR = 5055,
ShaderEnqueueAMDX = 5067,
QuadControlKHR = 5087,
Int4TypeINTEL = 5112,
Int4CooperativeMatrixINTEL = 5114,
BFloat16TypeKHR = 5116,
BFloat16DotProductKHR = 5117,
BFloat16CooperativeMatrixKHR = 5118,
SampleMaskOverrideCoverageNV = 5249,
GeometryShaderPassthroughNV = 5251,
ShaderViewportIndexLayer = 5254,
ShaderViewportMaskNV = 5255,
ShaderStereoViewNV = 5259,
PerViewAttributesNV = 5260,
FragmentFullyCoveredEXT = 5265,
MeshShadingNV = 5266,
ImageFootprintNV = 5282,
MeshShadingEXT = 5283,
FragmentBarycentric = 5284,
ComputeDerivativeGroupQuads = 5288,
ShadingRate = 5291,
GroupNonUniformPartitionedNV = 5297,
ShaderNonUniform = 5301,
RuntimeDescriptorArray = 5302,
InputAttachmentArrayDynamicIndexing = 5303,
UniformTexelBufferArrayDynamicIndexing = 5304,
StorageTexelBufferArrayDynamicIndexing = 5305,
UniformBufferArrayNonUniformIndexing = 5306,
SampledImageArrayNonUniformIndexing = 5307,
StorageBufferArrayNonUniformIndexing = 5308,
StorageImageArrayNonUniformIndexing = 5309,
InputAttachmentArrayNonUniformIndexing = 5310,
UniformTexelBufferArrayNonUniformIndexing = 5311,
StorageTexelBufferArrayNonUniformIndexing = 5312,
RayTracingPositionFetchKHR = 5336,
RayTracingNV = 5340,
RayTracingMotionBlurNV = 5341,
VulkanMemoryModel = 5345,
VulkanMemoryModelDeviceScope = 5346,
PhysicalStorageBufferAddresses = 5347,
ComputeDerivativeGroupLinear = 5350,
RayTracingProvisionalKHR = 5353,
CooperativeMatrixNV = 5357,
FragmentShaderSampleInterlockEXT = 5363,
FragmentShaderShadingRateInterlockEXT = 5372,
ShaderSMBuiltinsNV = 5373,
FragmentShaderPixelInterlockEXT = 5378,
DemoteToHelperInvocation = 5379,
DisplacementMicromapNV = 5380,
RayTracingOpacityMicromapEXT = 5381,
ShaderInvocationReorderNV = 5383,
ShaderInvocationReorderEXT = 5388,
BindlessTextureNV = 5390,
RayQueryPositionFetchKHR = 5391,
CooperativeVectorNV = 5394,
AtomicFloat16VectorNV = 5404,
RayTracingDisplacementMicromapNV = 5409,
RawAccessChainsNV = 5414,
RayTracingSpheresGeometryNV = 5418,
RayTracingLinearSweptSpheresGeometryNV = 5419,
LongVectorEXT = 5425,
Shader64BitIndexingEXT = 5426,
CooperativeMatrixReductionsNV = 5430,
CooperativeMatrixConversionsNV = 5431,
CooperativeMatrixPerElementOperationsNV = 5432,
CooperativeMatrixTensorAddressingNV = 5433,
CooperativeMatrixBlockLoadsNV = 5434,
CooperativeVectorTrainingNV = 5435,
RayTracingClusterAccelerationStructureNV = 5437,
TensorAddressingNV = 5439,
SubgroupShuffleINTEL = 5568,
SubgroupBufferBlockIOINTEL = 5569,
SubgroupImageBlockIOINTEL = 5570,
SubgroupImageMediaBlockIOINTEL = 5579,
RoundToInfinityINTEL = 5582,
FloatingPointModeINTEL = 5583,
IntegerFunctions2INTEL = 5584,
FunctionPointersINTEL = 5603,
IndirectReferencesINTEL = 5604,
AsmINTEL = 5606,
AtomicFloat32MinMaxEXT = 5612,
AtomicFloat64MinMaxEXT = 5613,
AtomicFloat16MinMaxEXT = 5616,
VectorComputeINTEL = 5617,
VectorAnyINTEL = 5619,
ExpectAssumeKHR = 5629,
SubgroupAvcMotionEstimationINTEL = 5696,
SubgroupAvcMotionEstimationIntraINTEL = 5697,
SubgroupAvcMotionEstimationChromaINTEL = 5698,
VariableLengthArrayINTEL = 5817,
FunctionFloatControlINTEL = 5821,
FPGAMemoryAttributes = 5824,
FPFastMathModeINTEL = 5837,
ArbitraryPrecisionIntegers = 5844,
ArbitraryPrecisionFloatingPoint = 5845,
UnstructuredLoopControlsINTEL = 5886,
FPGALoopControls = 5888,
KernelAttributesINTEL = 5892,
FPGAKernelAttributesINTEL = 5897,
FPGAMemoryAccesses = 5898,
FPGAClusterAttributes = 5904,
LoopFuse = 5906,
FPGADSPControl = 5908,
MemoryAccessAliasingINTEL = 5910,
FPGAInvocationPipeliningAttributes = 5916,
FPGABufferLocation = 5920,
ArbitraryPrecisionFixedPoint = 5922,
USMStorageClasses = 5935,
RuntimeAlignedAttribute = 5939,
IOPipes = 5943,
BlockingPipes = 5945,
FPGAReg = 5948,
DotProductInputAll = 6016,
DotProductInput4x8Bit = 6017,
DotProductInput4x8BitPacked = 6018,
DotProduct = 6019,
RayCullMaskKHR = 6020,
CooperativeMatrixKHR = 6022,
ReplicatedCompositesEXT = 6024,
BitInstructions = 6025,
GroupNonUniformRotateKHR = 6026,
FloatControls2 = 6029,
FMAKHR = 6030,
AtomicFloat32AddEXT = 6033,
AtomicFloat64AddEXT = 6034,
LongCompositesINTEL = 6089,
OptNone = 6094,
AtomicFloat16AddEXT = 6095,
DebugInfoModuleINTEL = 6114,
BFloat16ConversionINTEL = 6115,
SplitBarrierINTEL = 6141,
ArithmeticFenceEXT = 6144,
FPGAClusterAttributesV2 = 6150,
FPGAKernelAttributesv2INTEL = 6161,
TaskSequence = 6162,
FPMaxErrorINTEL = 6169,
FPGALatencyControl = 6171,
FPGAArgumentInterfaces = 6174,
GlobalVariableHostAccessINTEL = 6187,
GlobalVariableFPGADecorations = 6189,
SubgroupBufferPrefetchINTEL = 6220,
Subgroup2DBlockIOINTEL = 6228,
Subgroup2DBlockTransformINTEL = 6229,
Subgroup2DBlockTransposeINTEL = 6230,
SubgroupMatrixMultiplyAccumulateINTEL = 6236,
TernaryBitwiseFunctionINTEL = 6241,
UntypedVariableLengthArrayINTEL = 6243,
SpecConditionalINTEL = 6245,
FunctionVariantsINTEL = 6246,
GroupUniformArithmeticKHR = 6400,
TensorFloat32RoundingINTEL = 6425,
MaskedGatherScatterINTEL = 6427,
CacheControlsINTEL = 6441,
RegisterLimitsINTEL = 6460,
BindlessImagesINTEL = 6528,
Max = 0x7fffffff,
};
pub const SpvRayFlagsShift = enum(u32) {
OpaqueKHRShift = 0,
NoOpaqueKHRShift = 1,
TerminateOnFirstHitKHRShift = 2,
SkipClosestHitShaderKHRShift = 3,
CullBackFacingTrianglesKHRShift = 4,
CullFrontFacingTrianglesKHRShift = 5,
CullOpaqueKHRShift = 6,
CullNoOpaqueKHRShift = 7,
SkipBuiltinPrimitivesShift = 8,
SkipAABBsKHRShift = 9,
ForceOpacityMicromap2StateEXTShift = 10,
Max = 0x7fffffff,
};
pub const SpvRayFlagsMask = enum(u32) {
None = 0,
OpaqueKHRMask = 0x00000001,
NoOpaqueKHRMask = 0x00000002,
TerminateOnFirstHitKHRMask = 0x00000004,
SkipClosestHitShaderKHRMask = 0x00000008,
CullBackFacingTrianglesKHRMask = 0x00000010,
CullFrontFacingTrianglesKHRMask = 0x00000020,
CullOpaqueKHRMask = 0x00000040,
CullNoOpaqueKHRMask = 0x00000080,
SkipBuiltinPrimitivesMask = 0x00000100,
SkipAABBsKHRMask = 0x00000200,
ForceOpacityMicromap2StateEXTMask = 0x00000400,
};
pub const SpvRayQueryIntersection = enum(u32) {
RayQueryCandidateIntersectionKHR = 0,
RayQueryCommittedIntersectionKHR = 1,
Max = 0x7fffffff,
};
pub const SpvRayQueryCommittedIntersectionType = enum(u32) {
RayQueryCommittedIntersectionNoneKHR = 0,
RayQueryCommittedIntersectionTriangleKHR = 1,
RayQueryCommittedIntersectionGeneratedKHR = 2,
Max = 0x7fffffff,
};
pub const SpvRayQueryCandidateIntersectionType = enum(u32) {
RayQueryCandidateIntersectionTriangleKHR = 0,
RayQueryCandidateIntersectionAABBKHR = 1,
Max = 0x7fffffff,
};
pub const SpvFragmentShadingRateShift = enum(u32) {
Vertical2PixelsShift = 0,
Vertical4PixelsShift = 1,
Horizontal2PixelsShift = 2,
Horizontal4PixelsShift = 3,
Max = 0x7fffffff,
};
pub const SpvFragmentShadingRateMask = enum(u32) {
None = 0,
Vertical2PixelsMask = 0x00000001,
Vertical4PixelsMask = 0x00000002,
Horizontal2PixelsMask = 0x00000004,
Horizontal4PixelsMask = 0x00000008,
};
pub const SpvFPDenormMode = enum(u32) {
Preserve = 0,
FlushToZero = 1,
Max = 0x7fffffff,
};
pub const SpvFPOperationMode = enum(u32) {
IEEE = 0,
ALT = 1,
Max = 0x7fffffff,
};
pub const SpvQuantizationModes = enum(u32) {
TRN = 0,
TRN_ZERO = 1,
RND = 2,
RND_ZERO = 3,
RND_INF = 4,
RND_MIN_INF = 5,
RND_CONV = 6,
RND_CONV_ODD = 7,
Max = 0x7fffffff,
};
pub const SpvOverflowModes = enum(u32) {
WRAP = 0,
SAT = 1,
SAT_ZERO = 2,
SAT_SYM = 3,
Max = 0x7fffffff,
};
pub const SpvPackedVectorFormat = enum(u32) {
PackedVectorFormat4x8Bit = 0,
Max = 0x7fffffff,
};
pub const SpvCooperativeMatrixOperandsShift = enum(u32) {
MatrixASignedComponentsKHRShift = 0,
MatrixBSignedComponentsKHRShift = 1,
MatrixCSignedComponentsKHRShift = 2,
MatrixResultSignedComponentsKHRShift = 3,
SaturatingAccumulationKHRShift = 4,
Max = 0x7fffffff,
};
pub const SpvCooperativeMatrixOperandsMask = enum(u32) {
None = 0,
MatrixASignedComponentsKHRMask = 0x00000001,
MatrixBSignedComponentsKHRMask = 0x00000002,
MatrixCSignedComponentsKHRMask = 0x00000004,
MatrixResultSignedComponentsKHRMask = 0x00000008,
SaturatingAccumulationKHRMask = 0x00000010,
};
pub const SpvCooperativeMatrixLayout = enum(u32) {
RowMajorKHR = 0,
ColumnMajorKHR = 1,
RowBlockedInterleavedARM = 4202,
ColumnBlockedInterleavedARM = 4203,
Max = 0x7fffffff,
};
pub const SpvCooperativeMatrixUse = enum(u32) {
MatrixAKHR = 0,
MatrixBKHR = 1,
MatrixAccumulatorKHR = 2,
Max = 0x7fffffff,
};
pub const SpvCooperativeMatrixReduceShift = enum(u32) {
RowShift = 0,
ColumnShift = 1,
_2x2Shift = 2,
Max = 0x7fffffff,
};
pub const SpvCooperativeMatrixReduceMask = enum(u32) {
None = 0,
RowMask = 0x00000001,
ColumnMask = 0x00000002,
_2x2Mask = 0x00000004,
};
pub const SpvTensorClampMode = enum(u32) {
Undefined = 0,
Constant = 1,
ClampToEdge = 2,
Repeat = 3,
RepeatMirrored = 4,
Max = 0x7fffffff,
};
pub const SpvTensorAddressingOperandsShift = enum(u32) {
TensorViewShift = 0,
DecodeFuncShift = 1,
Max = 0x7fffffff,
};
pub const SpvTensorAddressingOperandsMask = enum(u32) {
None = 0,
TensorViewMask = 0x00000001,
DecodeFuncMask = 0x00000002,
};
pub const SpvTensorOperandsShift = enum(u32) {
NontemporalARMShift = 0,
OutOfBoundsValueARMShift = 1,
MakeElementAvailableARMShift = 2,
MakeElementVisibleARMShift = 3,
NonPrivateElementARMShift = 4,
Max = 0x7fffffff,
};
pub const SpvTensorOperandsMask = enum(u32) {
None = 0,
NontemporalARMMask = 0x00000001,
OutOfBoundsValueARMMask = 0x00000002,
MakeElementAvailableARMMask = 0x00000004,
MakeElementVisibleARMMask = 0x00000008,
NonPrivateElementARMMask = 0x00000010,
};
pub const SpvInitializationModeQualifier = enum(u32) {
InitOnDeviceReprogram = 0,
InitOnDeviceReset = 1,
Max = 0x7fffffff,
};
pub const SpvHostAccessQualifier = enum(u32) {
NoneINTEL = 0,
ReadINTEL = 1,
WriteINTEL = 2,
ReadWriteINTEL = 3,
Max = 0x7fffffff,
};
pub const SpvLoadCacheControl = enum(u32) {
UncachedINTEL = 0,
CachedINTEL = 1,
StreamingINTEL = 2,
InvalidateAfterReadINTEL = 3,
ConstCachedINTEL = 4,
Max = 0x7fffffff,
};
pub const SpvStoreCacheControl = enum(u32) {
UncachedINTEL = 0,
WriteThroughINTEL = 1,
WriteBackINTEL = 2,
StreamingINTEL = 3,
Max = 0x7fffffff,
};
pub const SpvNamedMaximumNumberOfRegisters = enum(u32) {
AutoINTEL = 0,
Max = 0x7fffffff,
};
pub const SpvMatrixMultiplyAccumulateOperandsShift = enum(u32) {
MatrixASignedComponentsINTELShift = 0,
MatrixBSignedComponentsINTELShift = 1,
MatrixCBFloat16INTELShift = 2,
MatrixResultBFloat16INTELShift = 3,
MatrixAPackedInt8INTELShift = 4,
MatrixBPackedInt8INTELShift = 5,
MatrixAPackedInt4INTELShift = 6,
MatrixBPackedInt4INTELShift = 7,
MatrixATF32INTELShift = 8,
MatrixBTF32INTELShift = 9,
MatrixAPackedFloat16INTELShift = 10,
MatrixBPackedFloat16INTELShift = 11,
MatrixAPackedBFloat16INTELShift = 12,
MatrixBPackedBFloat16INTELShift = 13,
Max = 0x7fffffff,
};
pub const SpvMatrixMultiplyAccumulateOperandsMask = enum(u32) {
None = 0,
MatrixASignedComponentsINTELMask = 0x00000001,
MatrixBSignedComponentsINTELMask = 0x00000002,
MatrixCBFloat16INTELMask = 0x00000004,
MatrixResultBFloat16INTELMask = 0x00000008,
MatrixAPackedInt8INTELMask = 0x00000010,
MatrixBPackedInt8INTELMask = 0x00000020,
MatrixAPackedInt4INTELMask = 0x00000040,
MatrixBPackedInt4INTELMask = 0x00000080,
MatrixATF32INTELMask = 0x00000100,
MatrixBTF32INTELMask = 0x00000200,
MatrixAPackedFloat16INTELMask = 0x00000400,
MatrixBPackedFloat16INTELMask = 0x00000800,
MatrixAPackedBFloat16INTELMask = 0x00001000,
MatrixBPackedBFloat16INTELMask = 0x00002000,
};
pub const SpvRawAccessChainOperandsShift = enum(u32) {
RobustnessPerComponentNVShift = 0,
RobustnessPerElementNVShift = 1,
Max = 0x7fffffff,
};
pub const SpvRawAccessChainOperandsMask = enum(u32) {
None = 0,
RobustnessPerComponentNVMask = 0x00000001,
RobustnessPerElementNVMask = 0x00000002,
};
pub const SpvFPEncoding = enum(u32) {
BFloat16KHR = 0,
Float8E4M3EXT = 4214,
Float8E5M2EXT = 4215,
Max = 0x7fffffff,
};
pub const SpvCooperativeVectorMatrixLayout = enum(u32) {
RowMajorNV = 0,
ColumnMajorNV = 1,
InferencingOptimalNV = 2,
TrainingOptimalNV = 3,
Max = 0x7fffffff,
};
pub const SpvComponentType = enum(u32) {
Float16NV = 0,
Float32NV = 1,
Float64NV = 2,
SignedInt8NV = 3,
SignedInt16NV = 4,
SignedInt32NV = 5,
SignedInt64NV = 6,
UnsignedInt8NV = 7,
UnsignedInt16NV = 8,
UnsignedInt32NV = 9,
UnsignedInt64NV = 10,
SignedInt8PackedNV = 1000491000,
UnsignedInt8PackedNV = 1000491001,
FloatE4M3NV = 1000491002,
FloatE5M2NV = 1000491003,
Max = 0x7fffffff,
};
pub const SpvOp = enum(u32) {
Nop = 0,
Undef = 1,
SourceContinued = 2,
Source = 3,
SourceExtension = 4,
Name = 5,
MemberName = 6,
String = 7,
Line = 8,
Extension = 10,
ExtInstImport = 11,
ExtInst = 12,
MemoryModel = 14,
EntryPoint = 15,
ExecutionMode = 16,
Capability = 17,
TypeVoid = 19,
TypeBool = 20,
TypeInt = 21,
TypeFloat = 22,
TypeVector = 23,
TypeMatrix = 24,
TypeImage = 25,
TypeSampler = 26,
TypeSampledImage = 27,
TypeArray = 28,
TypeRuntimeArray = 29,
TypeStruct = 30,
TypeOpaque = 31,
TypePointer = 32,
TypeFunction = 33,
TypeEvent = 34,
TypeDeviceEvent = 35,
TypeReserveId = 36,
TypeQueue = 37,
TypePipe = 38,
TypeForwardPointer = 39,
ConstantTrue = 41,
ConstantFalse = 42,
Constant = 43,
ConstantComposite = 44,
ConstantSampler = 45,
ConstantNull = 46,
SpecConstantTrue = 48,
SpecConstantFalse = 49,
SpecConstant = 50,
SpecConstantComposite = 51,
SpecConstantOp = 52,
Function = 54,
FunctionParameter = 55,
FunctionEnd = 56,
FunctionCall = 57,
Variable = 59,
ImageTexelPointer = 60,
Load = 61,
Store = 62,
CopyMemory = 63,
CopyMemorySized = 64,
AccessChain = 65,
InBoundsAccessChain = 66,
PtrAccessChain = 67,
ArrayLength = 68,
GenericPtrMemSemantics = 69,
InBoundsPtrAccessChain = 70,
Decorate = 71,
MemberDecorate = 72,
DecorationGroup = 73,
GroupDecorate = 74,
GroupMemberDecorate = 75,
VectorExtractDynamic = 77,
VectorInsertDynamic = 78,
VectorShuffle = 79,
CompositeConstruct = 80,
CompositeExtract = 81,
CompositeInsert = 82,
CopyObject = 83,
Transpose = 84,
SampledImage = 86,
ImageSampleImplicitLod = 87,
ImageSampleExplicitLod = 88,
ImageSampleDrefImplicitLod = 89,
ImageSampleDrefExplicitLod = 90,
ImageSampleProjImplicitLod = 91,
ImageSampleProjExplicitLod = 92,
ImageSampleProjDrefImplicitLod = 93,
ImageSampleProjDrefExplicitLod = 94,
ImageFetch = 95,
ImageGather = 96,
ImageDrefGather = 97,
ImageRead = 98,
ImageWrite = 99,
Image = 100,
ImageQueryFormat = 101,
ImageQueryOrder = 102,
ImageQuerySizeLod = 103,
ImageQuerySize = 104,
ImageQueryLod = 105,
ImageQueryLevels = 106,
ImageQuerySamples = 107,
ConvertFToU = 109,
ConvertFToS = 110,
ConvertSToF = 111,
ConvertUToF = 112,
UConvert = 113,
SConvert = 114,
FConvert = 115,
QuantizeToF16 = 116,
ConvertPtrToU = 117,
SatConvertSToU = 118,
SatConvertUToS = 119,
ConvertUToPtr = 120,
PtrCastToGeneric = 121,
GenericCastToPtr = 122,
GenericCastToPtrExplicit = 123,
Bitcast = 124,
SNegate = 126,
FNegate = 127,
IAdd = 128,
FAdd = 129,
ISub = 130,
FSub = 131,
IMul = 132,
FMul = 133,
UDiv = 134,
SDiv = 135,
FDiv = 136,
UMod = 137,
SRem = 138,
SMod = 139,
FRem = 140,
FMod = 141,
VectorTimesScalar = 142,
MatrixTimesScalar = 143,
VectorTimesMatrix = 144,
MatrixTimesVector = 145,
MatrixTimesMatrix = 146,
OuterProduct = 147,
Dot = 148,
IAddCarry = 149,
ISubBorrow = 150,
UMulExtended = 151,
SMulExtended = 152,
Any = 154,
All = 155,
IsNan = 156,
IsInf = 157,
IsFinite = 158,
IsNormal = 159,
SignBitSet = 160,
LessOrGreater = 161,
Ordered = 162,
Unordered = 163,
LogicalEqual = 164,
LogicalNotEqual = 165,
LogicalOr = 166,
LogicalAnd = 167,
LogicalNot = 168,
Select = 169,
IEqual = 170,
INotEqual = 171,
UGreaterThan = 172,
SGreaterThan = 173,
UGreaterThanEqual = 174,
SGreaterThanEqual = 175,
ULessThan = 176,
SLessThan = 177,
ULessThanEqual = 178,
SLessThanEqual = 179,
FOrdEqual = 180,
FUnordEqual = 181,
FOrdNotEqual = 182,
FUnordNotEqual = 183,
FOrdLessThan = 184,
FUnordLessThan = 185,
FOrdGreaterThan = 186,
FUnordGreaterThan = 187,
FOrdLessThanEqual = 188,
FUnordLessThanEqual = 189,
FOrdGreaterThanEqual = 190,
FUnordGreaterThanEqual = 191,
ShiftRightLogical = 194,
ShiftRightArithmetic = 195,
ShiftLeftLogical = 196,
BitwiseOr = 197,
BitwiseXor = 198,
BitwiseAnd = 199,
Not = 200,
BitFieldInsert = 201,
BitFieldSExtract = 202,
BitFieldUExtract = 203,
BitReverse = 204,
BitCount = 205,
DPdx = 207,
DPdy = 208,
Fwidth = 209,
DPdxFine = 210,
DPdyFine = 211,
FwidthFine = 212,
DPdxCoarse = 213,
DPdyCoarse = 214,
FwidthCoarse = 215,
EmitVertex = 218,
EndPrimitive = 219,
EmitStreamVertex = 220,
EndStreamPrimitive = 221,
ControlBarrier = 224,
MemoryBarrier = 225,
AtomicLoad = 227,
AtomicStore = 228,
AtomicExchange = 229,
AtomicCompareExchange = 230,
AtomicCompareExchangeWeak = 231,
AtomicIIncrement = 232,
AtomicIDecrement = 233,
AtomicIAdd = 234,
AtomicISub = 235,
AtomicSMin = 236,
AtomicUMin = 237,
AtomicSMax = 238,
AtomicUMax = 239,
AtomicAnd = 240,
AtomicOr = 241,
AtomicXor = 242,
Phi = 245,
LoopMerge = 246,
SelectionMerge = 247,
Label = 248,
Branch = 249,
BranchConditional = 250,
Switch = 251,
Kill = 252,
Return = 253,
ReturnValue = 254,
Unreachable = 255,
LifetimeStart = 256,
LifetimeStop = 257,
GroupAsyncCopy = 259,
GroupWaitEvents = 260,
GroupAll = 261,
GroupAny = 262,
GroupBroadcast = 263,
GroupIAdd = 264,
GroupFAdd = 265,
GroupFMin = 266,
GroupUMin = 267,
GroupSMin = 268,
GroupFMax = 269,
GroupUMax = 270,
GroupSMax = 271,
ReadPipe = 274,
WritePipe = 275,
ReservedReadPipe = 276,
ReservedWritePipe = 277,
ReserveReadPipePackets = 278,
ReserveWritePipePackets = 279,
CommitReadPipe = 280,
CommitWritePipe = 281,
IsValidReserveId = 282,
GetNumPipePackets = 283,
GetMaxPipePackets = 284,
GroupReserveReadPipePackets = 285,
GroupReserveWritePipePackets = 286,
GroupCommitReadPipe = 287,
GroupCommitWritePipe = 288,
EnqueueMarker = 291,
EnqueueKernel = 292,
GetKernelNDrangeSubGroupCount = 293,
GetKernelNDrangeMaxSubGroupSize = 294,
GetKernelWorkGroupSize = 295,
GetKernelPreferredWorkGroupSizeMultiple = 296,
RetainEvent = 297,
ReleaseEvent = 298,
CreateUserEvent = 299,
IsValidEvent = 300,
SetUserEventStatus = 301,
CaptureEventProfilingInfo = 302,
GetDefaultQueue = 303,
BuildNDRange = 304,
ImageSparseSampleImplicitLod = 305,
ImageSparseSampleExplicitLod = 306,
ImageSparseSampleDrefImplicitLod = 307,
ImageSparseSampleDrefExplicitLod = 308,
ImageSparseSampleProjImplicitLod = 309,
ImageSparseSampleProjExplicitLod = 310,
ImageSparseSampleProjDrefImplicitLod = 311,
ImageSparseSampleProjDrefExplicitLod = 312,
ImageSparseFetch = 313,
ImageSparseGather = 314,
ImageSparseDrefGather = 315,
ImageSparseTexelsResident = 316,
NoLine = 317,
AtomicFlagTestAndSet = 318,
AtomicFlagClear = 319,
ImageSparseRead = 320,
SizeOf = 321,
TypePipeStorage = 322,
ConstantPipeStorage = 323,
CreatePipeFromPipeStorage = 324,
GetKernelLocalSizeForSubgroupCount = 325,
GetKernelMaxNumSubgroups = 326,
TypeNamedBarrier = 327,
NamedBarrierInitialize = 328,
MemoryNamedBarrier = 329,
ModuleProcessed = 330,
ExecutionModeId = 331,
DecorateId = 332,
GroupNonUniformElect = 333,
GroupNonUniformAll = 334,
GroupNonUniformAny = 335,
GroupNonUniformAllEqual = 336,
GroupNonUniformBroadcast = 337,
GroupNonUniformBroadcastFirst = 338,
GroupNonUniformBallot = 339,
GroupNonUniformInverseBallot = 340,
GroupNonUniformBallotBitExtract = 341,
GroupNonUniformBallotBitCount = 342,
GroupNonUniformBallotFindLSB = 343,
GroupNonUniformBallotFindMSB = 344,
GroupNonUniformShuffle = 345,
GroupNonUniformShuffleXor = 346,
GroupNonUniformShuffleUp = 347,
GroupNonUniformShuffleDown = 348,
GroupNonUniformIAdd = 349,
GroupNonUniformFAdd = 350,
GroupNonUniformIMul = 351,
GroupNonUniformFMul = 352,
GroupNonUniformSMin = 353,
GroupNonUniformUMin = 354,
GroupNonUniformFMin = 355,
GroupNonUniformSMax = 356,
GroupNonUniformUMax = 357,
GroupNonUniformFMax = 358,
GroupNonUniformBitwiseAnd = 359,
GroupNonUniformBitwiseOr = 360,
GroupNonUniformBitwiseXor = 361,
GroupNonUniformLogicalAnd = 362,
GroupNonUniformLogicalOr = 363,
GroupNonUniformLogicalXor = 364,
GroupNonUniformQuadBroadcast = 365,
GroupNonUniformQuadSwap = 366,
CopyLogical = 400,
PtrEqual = 401,
PtrNotEqual = 402,
PtrDiff = 403,
ColorAttachmentReadEXT = 4160,
DepthAttachmentReadEXT = 4161,
StencilAttachmentReadEXT = 4162,
TypeTensorARM = 4163,
TensorReadARM = 4164,
TensorWriteARM = 4165,
TensorQuerySizeARM = 4166,
GraphConstantARM = 4181,
GraphEntryPointARM = 4182,
GraphARM = 4183,
GraphInputARM = 4184,
GraphSetOutputARM = 4185,
GraphEndARM = 4186,
TypeGraphARM = 4190,
TerminateInvocation = 4416,
TypeUntypedPointerKHR = 4417,
UntypedVariableKHR = 4418,
UntypedAccessChainKHR = 4419,
UntypedInBoundsAccessChainKHR = 4420,
SubgroupBallotKHR = 4421,
SubgroupFirstInvocationKHR = 4422,
UntypedPtrAccessChainKHR = 4423,
UntypedInBoundsPtrAccessChainKHR = 4424,
UntypedArrayLengthKHR = 4425,
UntypedPrefetchKHR = 4426,
FmaKHR = 4427,
SubgroupAllKHR = 4428,
SubgroupAnyKHR = 4429,
SubgroupAllEqualKHR = 4430,
GroupNonUniformRotateKHR = 4431,
SubgroupReadInvocationKHR = 4432,
ExtInstWithForwardRefsKHR = 4433,
UntypedGroupAsyncCopyKHR = 4434,
TraceRayKHR = 4445,
ExecuteCallableKHR = 4446,
ConvertUToAccelerationStructureKHR = 4447,
IgnoreIntersectionKHR = 4448,
TerminateRayKHR = 4449,
SDot = 4450,
UDot = 4451,
SUDot = 4452,
SDotAccSat = 4453,
UDotAccSat = 4454,
SUDotAccSat = 4455,
TypeCooperativeMatrixKHR = 4456,
CooperativeMatrixLoadKHR = 4457,
CooperativeMatrixStoreKHR = 4458,
CooperativeMatrixMulAddKHR = 4459,
CooperativeMatrixLengthKHR = 4460,
ConstantCompositeReplicateEXT = 4461,
SpecConstantCompositeReplicateEXT = 4462,
CompositeConstructReplicateEXT = 4463,
TypeRayQueryKHR = 4472,
RayQueryInitializeKHR = 4473,
RayQueryTerminateKHR = 4474,
RayQueryGenerateIntersectionKHR = 4475,
RayQueryConfirmIntersectionKHR = 4476,
RayQueryProceedKHR = 4477,
RayQueryGetIntersectionTypeKHR = 4479,
ImageSampleWeightedQCOM = 4480,
ImageBoxFilterQCOM = 4481,
ImageBlockMatchSSDQCOM = 4482,
ImageBlockMatchSADQCOM = 4483,
BitCastArrayQCOM = 4497,
ImageBlockMatchWindowSSDQCOM = 4500,
ImageBlockMatchWindowSADQCOM = 4501,
ImageBlockMatchGatherSSDQCOM = 4502,
ImageBlockMatchGatherSADQCOM = 4503,
CompositeConstructCoopMatQCOM = 4540,
CompositeExtractCoopMatQCOM = 4541,
ExtractSubArrayQCOM = 4542,
GroupIAddNonUniformAMD = 5000,
GroupFAddNonUniformAMD = 5001,
GroupFMinNonUniformAMD = 5002,
GroupUMinNonUniformAMD = 5003,
GroupSMinNonUniformAMD = 5004,
GroupFMaxNonUniformAMD = 5005,
GroupUMaxNonUniformAMD = 5006,
GroupSMaxNonUniformAMD = 5007,
FragmentMaskFetchAMD = 5011,
FragmentFetchAMD = 5012,
ReadClockKHR = 5056,
AllocateNodePayloadsAMDX = 5074,
EnqueueNodePayloadsAMDX = 5075,
TypeNodePayloadArrayAMDX = 5076,
FinishWritingNodePayloadAMDX = 5078,
NodePayloadArrayLengthAMDX = 5090,
IsNodePayloadValidAMDX = 5101,
ConstantStringAMDX = 5103,
SpecConstantStringAMDX = 5104,
GroupNonUniformQuadAllKHR = 5110,
GroupNonUniformQuadAnyKHR = 5111,
HitObjectRecordHitMotionNV = 5249,
HitObjectRecordHitWithIndexMotionNV = 5250,
HitObjectRecordMissMotionNV = 5251,
HitObjectGetWorldToObjectNV = 5252,
HitObjectGetObjectToWorldNV = 5253,
HitObjectGetObjectRayDirectionNV = 5254,
HitObjectGetObjectRayOriginNV = 5255,
HitObjectTraceRayMotionNV = 5256,
HitObjectGetShaderRecordBufferHandleNV = 5257,
HitObjectGetShaderBindingTableRecordIndexNV = 5258,
HitObjectRecordEmptyNV = 5259,
HitObjectTraceRayNV = 5260,
HitObjectRecordHitNV = 5261,
HitObjectRecordHitWithIndexNV = 5262,
HitObjectRecordMissNV = 5263,
HitObjectExecuteShaderNV = 5264,
HitObjectGetCurrentTimeNV = 5265,
HitObjectGetAttributesNV = 5266,
HitObjectGetHitKindNV = 5267,
HitObjectGetPrimitiveIndexNV = 5268,
HitObjectGetGeometryIndexNV = 5269,
HitObjectGetInstanceIdNV = 5270,
HitObjectGetInstanceCustomIndexNV = 5271,
HitObjectGetWorldRayDirectionNV = 5272,
HitObjectGetWorldRayOriginNV = 5273,
HitObjectGetRayTMaxNV = 5274,
HitObjectGetRayTMinNV = 5275,
HitObjectIsEmptyNV = 5276,
HitObjectIsHitNV = 5277,
HitObjectIsMissNV = 5278,
ReorderThreadWithHitObjectNV = 5279,
ReorderThreadWithHintNV = 5280,
TypeHitObjectNV = 5281,
ImageSampleFootprintNV = 5283,
TypeCooperativeVectorNV = 5288,
CooperativeVectorMatrixMulNV = 5289,
CooperativeVectorOuterProductAccumulateNV = 5290,
CooperativeVectorReduceSumAccumulateNV = 5291,
CooperativeVectorMatrixMulAddNV = 5292,
CooperativeMatrixConvertNV = 5293,
EmitMeshTasksEXT = 5294,
SetMeshOutputsEXT = 5295,
GroupNonUniformPartitionNV = 5296,
WritePackedPrimitiveIndices4x8NV = 5299,
FetchMicroTriangleVertexPositionNV = 5300,
FetchMicroTriangleVertexBarycentricNV = 5301,
CooperativeVectorLoadNV = 5302,
CooperativeVectorStoreNV = 5303,
HitObjectRecordFromQueryEXT = 5304,
HitObjectRecordMissEXT = 5305,
HitObjectRecordMissMotionEXT = 5306,
HitObjectGetIntersectionTriangleVertexPositionsEXT = 5307,
HitObjectGetRayFlagsEXT = 5308,
HitObjectSetShaderBindingTableRecordIndexEXT = 5309,
HitObjectReorderExecuteShaderEXT = 5310,
HitObjectTraceReorderExecuteEXT = 5311,
HitObjectTraceMotionReorderExecuteEXT = 5312,
TypeHitObjectEXT = 5313,
ReorderThreadWithHintEXT = 5314,
ReorderThreadWithHitObjectEXT = 5315,
HitObjectTraceRayEXT = 5316,
HitObjectTraceRayMotionEXT = 5317,
HitObjectRecordEmptyEXT = 5318,
HitObjectExecuteShaderEXT = 5319,
HitObjectGetCurrentTimeEXT = 5320,
HitObjectGetAttributesEXT = 5321,
HitObjectGetHitKindEXT = 5322,
HitObjectGetPrimitiveIndexEXT = 5323,
HitObjectGetGeometryIndexEXT = 5324,
HitObjectGetInstanceIdEXT = 5325,
HitObjectGetInstanceCustomIndexEXT = 5326,
HitObjectGetObjectRayOriginEXT = 5327,
HitObjectGetObjectRayDirectionEXT = 5328,
HitObjectGetWorldRayDirectionEXT = 5329,
HitObjectGetWorldRayOriginEXT = 5330,
HitObjectGetObjectToWorldEXT = 5331,
HitObjectGetWorldToObjectEXT = 5332,
HitObjectGetRayTMaxEXT = 5333,
ReportIntersection = 5334,
IgnoreIntersectionNV = 5335,
TerminateRayNV = 5336,
TraceNV = 5337,
TraceMotionNV = 5338,
TraceRayMotionNV = 5339,
RayQueryGetIntersectionTriangleVertexPositionsKHR = 5340,
TypeAccelerationStructure = 5341,
ExecuteCallableNV = 5344,
RayQueryGetClusterIdNV = 5345,
HitObjectGetClusterIdNV = 5346,
HitObjectGetRayTMinEXT = 5347,
HitObjectGetShaderBindingTableRecordIndexEXT = 5348,
HitObjectGetShaderRecordBufferHandleEXT = 5349,
HitObjectIsEmptyEXT = 5350,
HitObjectIsHitEXT = 5351,
HitObjectIsMissEXT = 5352,
TypeCooperativeMatrixNV = 5358,
CooperativeMatrixLoadNV = 5359,
CooperativeMatrixStoreNV = 5360,
CooperativeMatrixMulAddNV = 5361,
CooperativeMatrixLengthNV = 5362,
BeginInvocationInterlockEXT = 5364,
EndInvocationInterlockEXT = 5365,
CooperativeMatrixReduceNV = 5366,
CooperativeMatrixLoadTensorNV = 5367,
CooperativeMatrixStoreTensorNV = 5368,
CooperativeMatrixPerElementOpNV = 5369,
TypeTensorLayoutNV = 5370,
TypeTensorViewNV = 5371,
CreateTensorLayoutNV = 5372,
TensorLayoutSetDimensionNV = 5373,
TensorLayoutSetStrideNV = 5374,
TensorLayoutSliceNV = 5375,
TensorLayoutSetClampValueNV = 5376,
CreateTensorViewNV = 5377,
TensorViewSetDimensionNV = 5378,
TensorViewSetStrideNV = 5379,
DemoteToHelperInvocation = 5380,
IsHelperInvocationEXT = 5381,
TensorViewSetClipNV = 5382,
TensorLayoutSetBlockSizeNV = 5384,
CooperativeMatrixTransposeNV = 5390,
ConvertUToImageNV = 5391,
ConvertUToSamplerNV = 5392,
ConvertImageToUNV = 5393,
ConvertSamplerToUNV = 5394,
ConvertUToSampledImageNV = 5395,
ConvertSampledImageToUNV = 5396,
SamplerImageAddressingModeNV = 5397,
RawAccessChainNV = 5398,
RayQueryGetIntersectionSpherePositionNV = 5427,
RayQueryGetIntersectionSphereRadiusNV = 5428,
RayQueryGetIntersectionLSSPositionsNV = 5429,
RayQueryGetIntersectionLSSRadiiNV = 5430,
RayQueryGetIntersectionLSSHitValueNV = 5431,
HitObjectGetSpherePositionNV = 5432,
HitObjectGetSphereRadiusNV = 5433,
HitObjectGetLSSPositionsNV = 5434,
HitObjectGetLSSRadiiNV = 5435,
HitObjectIsSphereHitNV = 5436,
HitObjectIsLSSHitNV = 5437,
RayQueryIsSphereHitNV = 5438,
RayQueryIsLSSHitNV = 5439,
SubgroupShuffleINTEL = 5571,
SubgroupShuffleDownINTEL = 5572,
SubgroupShuffleUpINTEL = 5573,
SubgroupShuffleXorINTEL = 5574,
SubgroupBlockReadINTEL = 5575,
SubgroupBlockWriteINTEL = 5576,
SubgroupImageBlockReadINTEL = 5577,
SubgroupImageBlockWriteINTEL = 5578,
SubgroupImageMediaBlockReadINTEL = 5580,
SubgroupImageMediaBlockWriteINTEL = 5581,
UCountLeadingZerosINTEL = 5585,
UCountTrailingZerosINTEL = 5586,
AbsISubINTEL = 5587,
AbsUSubINTEL = 5588,
IAddSatINTEL = 5589,
UAddSatINTEL = 5590,
IAverageINTEL = 5591,
UAverageINTEL = 5592,
IAverageRoundedINTEL = 5593,
UAverageRoundedINTEL = 5594,
ISubSatINTEL = 5595,
USubSatINTEL = 5596,
IMul32x16INTEL = 5597,
UMul32x16INTEL = 5598,
ConstantFunctionPointerINTEL = 5600,
FunctionPointerCallINTEL = 5601,
AsmTargetINTEL = 5609,
AsmINTEL = 5610,
AsmCallINTEL = 5611,
AtomicFMinEXT = 5614,
AtomicFMaxEXT = 5615,
AssumeTrueKHR = 5630,
ExpectKHR = 5631,
DecorateString = 5632,
MemberDecorateString = 5633,
VmeImageINTEL = 5699,
TypeVmeImageINTEL = 5700,
TypeAvcImePayloadINTEL = 5701,
TypeAvcRefPayloadINTEL = 5702,
TypeAvcSicPayloadINTEL = 5703,
TypeAvcMcePayloadINTEL = 5704,
TypeAvcMceResultINTEL = 5705,
TypeAvcImeResultINTEL = 5706,
TypeAvcImeResultSingleReferenceStreamoutINTEL = 5707,
TypeAvcImeResultDualReferenceStreamoutINTEL = 5708,
TypeAvcImeSingleReferenceStreaminINTEL = 5709,
TypeAvcImeDualReferenceStreaminINTEL = 5710,
TypeAvcRefResultINTEL = 5711,
TypeAvcSicResultINTEL = 5712,
SubgroupAvcMceGetDefaultInterBaseMultiReferencePenaltyINTEL = 5713,
SubgroupAvcMceSetInterBaseMultiReferencePenaltyINTEL = 5714,
SubgroupAvcMceGetDefaultInterShapePenaltyINTEL = 5715,
SubgroupAvcMceSetInterShapePenaltyINTEL = 5716,
SubgroupAvcMceGetDefaultInterDirectionPenaltyINTEL = 5717,
SubgroupAvcMceSetInterDirectionPenaltyINTEL = 5718,
SubgroupAvcMceGetDefaultIntraLumaShapePenaltyINTEL = 5719,
SubgroupAvcMceGetDefaultInterMotionVectorCostTableINTEL = 5720,
SubgroupAvcMceGetDefaultHighPenaltyCostTableINTEL = 5721,
SubgroupAvcMceGetDefaultMediumPenaltyCostTableINTEL = 5722,
SubgroupAvcMceGetDefaultLowPenaltyCostTableINTEL = 5723,
SubgroupAvcMceSetMotionVectorCostFunctionINTEL = 5724,
SubgroupAvcMceGetDefaultIntraLumaModePenaltyINTEL = 5725,
SubgroupAvcMceGetDefaultNonDcLumaIntraPenaltyINTEL = 5726,
SubgroupAvcMceGetDefaultIntraChromaModeBasePenaltyINTEL = 5727,
SubgroupAvcMceSetAcOnlyHaarINTEL = 5728,
SubgroupAvcMceSetSourceInterlacedFieldPolarityINTEL = 5729,
SubgroupAvcMceSetSingleReferenceInterlacedFieldPolarityINTEL = 5730,
SubgroupAvcMceSetDualReferenceInterlacedFieldPolaritiesINTEL = 5731,
SubgroupAvcMceConvertToImePayloadINTEL = 5732,
SubgroupAvcMceConvertToImeResultINTEL = 5733,
SubgroupAvcMceConvertToRefPayloadINTEL = 5734,
SubgroupAvcMceConvertToRefResultINTEL = 5735,
SubgroupAvcMceConvertToSicPayloadINTEL = 5736,
SubgroupAvcMceConvertToSicResultINTEL = 5737,
SubgroupAvcMceGetMotionVectorsINTEL = 5738,
SubgroupAvcMceGetInterDistortionsINTEL = 5739,
SubgroupAvcMceGetBestInterDistortionsINTEL = 5740,
SubgroupAvcMceGetInterMajorShapeINTEL = 5741,
SubgroupAvcMceGetInterMinorShapeINTEL = 5742,
SubgroupAvcMceGetInterDirectionsINTEL = 5743,
SubgroupAvcMceGetInterMotionVectorCountINTEL = 5744,
SubgroupAvcMceGetInterReferenceIdsINTEL = 5745,
SubgroupAvcMceGetInterReferenceInterlacedFieldPolaritiesINTEL = 5746,
SubgroupAvcImeInitializeINTEL = 5747,
SubgroupAvcImeSetSingleReferenceINTEL = 5748,
SubgroupAvcImeSetDualReferenceINTEL = 5749,
SubgroupAvcImeRefWindowSizeINTEL = 5750,
SubgroupAvcImeAdjustRefOffsetINTEL = 5751,
SubgroupAvcImeConvertToMcePayloadINTEL = 5752,
SubgroupAvcImeSetMaxMotionVectorCountINTEL = 5753,
SubgroupAvcImeSetUnidirectionalMixDisableINTEL = 5754,
SubgroupAvcImeSetEarlySearchTerminationThresholdINTEL = 5755,
SubgroupAvcImeSetWeightedSadINTEL = 5756,
SubgroupAvcImeEvaluateWithSingleReferenceINTEL = 5757,
SubgroupAvcImeEvaluateWithDualReferenceINTEL = 5758,
SubgroupAvcImeEvaluateWithSingleReferenceStreaminINTEL = 5759,
SubgroupAvcImeEvaluateWithDualReferenceStreaminINTEL = 5760,
SubgroupAvcImeEvaluateWithSingleReferenceStreamoutINTEL = 5761,
SubgroupAvcImeEvaluateWithDualReferenceStreamoutINTEL = 5762,
SubgroupAvcImeEvaluateWithSingleReferenceStreaminoutINTEL = 5763,
SubgroupAvcImeEvaluateWithDualReferenceStreaminoutINTEL = 5764,
SubgroupAvcImeConvertToMceResultINTEL = 5765,
SubgroupAvcImeGetSingleReferenceStreaminINTEL = 5766,
SubgroupAvcImeGetDualReferenceStreaminINTEL = 5767,
SubgroupAvcImeStripSingleReferenceStreamoutINTEL = 5768,
SubgroupAvcImeStripDualReferenceStreamoutINTEL = 5769,
SubgroupAvcImeGetStreamoutSingleReferenceMajorShapeMotionVectorsINTEL = 5770,
SubgroupAvcImeGetStreamoutSingleReferenceMajorShapeDistortionsINTEL = 5771,
SubgroupAvcImeGetStreamoutSingleReferenceMajorShapeReferenceIdsINTEL = 5772,
SubgroupAvcImeGetStreamoutDualReferenceMajorShapeMotionVectorsINTEL = 5773,
SubgroupAvcImeGetStreamoutDualReferenceMajorShapeDistortionsINTEL = 5774,
SubgroupAvcImeGetStreamoutDualReferenceMajorShapeReferenceIdsINTEL = 5775,
SubgroupAvcImeGetBorderReachedINTEL = 5776,
SubgroupAvcImeGetTruncatedSearchIndicationINTEL = 5777,
SubgroupAvcImeGetUnidirectionalEarlySearchTerminationINTEL = 5778,
SubgroupAvcImeGetWeightingPatternMinimumMotionVectorINTEL = 5779,
SubgroupAvcImeGetWeightingPatternMinimumDistortionINTEL = 5780,
SubgroupAvcFmeInitializeINTEL = 5781,
SubgroupAvcBmeInitializeINTEL = 5782,
SubgroupAvcRefConvertToMcePayloadINTEL = 5783,
SubgroupAvcRefSetBidirectionalMixDisableINTEL = 5784,
SubgroupAvcRefSetBilinearFilterEnableINTEL = 5785,
SubgroupAvcRefEvaluateWithSingleReferenceINTEL = 5786,
SubgroupAvcRefEvaluateWithDualReferenceINTEL = 5787,
SubgroupAvcRefEvaluateWithMultiReferenceINTEL = 5788,
SubgroupAvcRefEvaluateWithMultiReferenceInterlacedINTEL = 5789,
SubgroupAvcRefConvertToMceResultINTEL = 5790,
SubgroupAvcSicInitializeINTEL = 5791,
SubgroupAvcSicConfigureSkcINTEL = 5792,
SubgroupAvcSicConfigureIpeLumaINTEL = 5793,
SubgroupAvcSicConfigureIpeLumaChromaINTEL = 5794,
SubgroupAvcSicGetMotionVectorMaskINTEL = 5795,
SubgroupAvcSicConvertToMcePayloadINTEL = 5796,
SubgroupAvcSicSetIntraLumaShapePenaltyINTEL = 5797,
SubgroupAvcSicSetIntraLumaModeCostFunctionINTEL = 5798,
SubgroupAvcSicSetIntraChromaModeCostFunctionINTEL = 5799,
SubgroupAvcSicSetBilinearFilterEnableINTEL = 5800,
SubgroupAvcSicSetSkcForwardTransformEnableINTEL = 5801,
SubgroupAvcSicSetBlockBasedRawSkipSadINTEL = 5802,
SubgroupAvcSicEvaluateIpeINTEL = 5803,
SubgroupAvcSicEvaluateWithSingleReferenceINTEL = 5804,
SubgroupAvcSicEvaluateWithDualReferenceINTEL = 5805,
SubgroupAvcSicEvaluateWithMultiReferenceINTEL = 5806,
SubgroupAvcSicEvaluateWithMultiReferenceInterlacedINTEL = 5807,
SubgroupAvcSicConvertToMceResultINTEL = 5808,
SubgroupAvcSicGetIpeLumaShapeINTEL = 5809,
SubgroupAvcSicGetBestIpeLumaDistortionINTEL = 5810,
SubgroupAvcSicGetBestIpeChromaDistortionINTEL = 5811,
SubgroupAvcSicGetPackedIpeLumaModesINTEL = 5812,
SubgroupAvcSicGetIpeChromaModeINTEL = 5813,
SubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL = 5814,
SubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL = 5815,
SubgroupAvcSicGetInterRawSadsINTEL = 5816,
VariableLengthArrayINTEL = 5818,
SaveMemoryINTEL = 5819,
RestoreMemoryINTEL = 5820,
ArbitraryFloatSinCosPi = 5840,
ArbitraryFloatCast = 5841,
ArbitraryFloatCastFromInt = 5842,
ArbitraryFloatCastToInt = 5843,
ArbitraryFloatAdd = 5846,
ArbitraryFloatSub = 5847,
ArbitraryFloatMul = 5848,
ArbitraryFloatDiv = 5849,
ArbitraryFloatGT = 5850,
ArbitraryFloatGE = 5851,
ArbitraryFloatLT = 5852,
ArbitraryFloatLE = 5853,
ArbitraryFloatEQ = 5854,
ArbitraryFloatRecip = 5855,
ArbitraryFloatRSqrt = 5856,
ArbitraryFloatCbrt = 5857,
ArbitraryFloatHypot = 5858,
ArbitraryFloatSqrt = 5859,
ArbitraryFloatLogINTEL = 5860,
ArbitraryFloatLog2INTEL = 5861,
ArbitraryFloatLog10INTEL = 5862,
ArbitraryFloatLog1pINTEL = 5863,
ArbitraryFloatExpINTEL = 5864,
ArbitraryFloatExp2INTEL = 5865,
ArbitraryFloatExp10INTEL = 5866,
ArbitraryFloatExpm1INTEL = 5867,
ArbitraryFloatSinINTEL = 5868,
ArbitraryFloatCosINTEL = 5869,
ArbitraryFloatSinCosINTEL = 5870,
ArbitraryFloatSinPiINTEL = 5871,
ArbitraryFloatCosPiINTEL = 5872,
ArbitraryFloatASinINTEL = 5873,
ArbitraryFloatASinPiINTEL = 5874,
ArbitraryFloatACosINTEL = 5875,
ArbitraryFloatACosPiINTEL = 5876,
ArbitraryFloatATanINTEL = 5877,
ArbitraryFloatATanPiINTEL = 5878,
ArbitraryFloatATan2INTEL = 5879,
ArbitraryFloatPowINTEL = 5880,
ArbitraryFloatPowRINTEL = 5881,
ArbitraryFloatPowNINTEL = 5882,
LoopControlINTEL = 5887,
AliasDomainDeclINTEL = 5911,
AliasScopeDeclINTEL = 5912,
AliasScopeListDeclINTEL = 5913,
FixedSqrt = 5923,
FixedRecip = 5924,
FixedRsqrt = 5925,
FixedSin = 5926,
FixedCos = 5927,
FixedSinCos = 5928,
FixedSinPi = 5929,
FixedCosPi = 5930,
FixedSinCosPi = 5931,
FixedLog = 5932,
FixedExp = 5933,
PtrCastToCrossWorkgroup = 5934,
CrossWorkgroupCastToPtr = 5938,
ReadPipeBlocking = 5946,
WritePipeBlocking = 5947,
FPGAReg = 5949,
RayQueryGetRayTMinKHR = 6016,
RayQueryGetRayFlagsKHR = 6017,
RayQueryGetIntersectionTKHR = 6018,
RayQueryGetIntersectionInstanceCustomIndexKHR = 6019,
RayQueryGetIntersectionInstanceIdKHR = 6020,
RayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR = 6021,
RayQueryGetIntersectionGeometryIndexKHR = 6022,
RayQueryGetIntersectionPrimitiveIndexKHR = 6023,
RayQueryGetIntersectionBarycentricsKHR = 6024,
RayQueryGetIntersectionFrontFaceKHR = 6025,
RayQueryGetIntersectionCandidateAABBOpaqueKHR = 6026,
RayQueryGetIntersectionObjectRayDirectionKHR = 6027,
RayQueryGetIntersectionObjectRayOriginKHR = 6028,
RayQueryGetWorldRayDirectionKHR = 6029,
RayQueryGetWorldRayOriginKHR = 6030,
RayQueryGetIntersectionObjectToWorldKHR = 6031,
RayQueryGetIntersectionWorldToObjectKHR = 6032,
AtomicFAddEXT = 6035,
TypeBufferSurfaceINTEL = 6086,
TypeStructContinuedINTEL = 6090,
ConstantCompositeContinuedINTEL = 6091,
SpecConstantCompositeContinuedINTEL = 6092,
CompositeConstructContinuedINTEL = 6096,
ConvertFToBF16INTEL = 6116,
ConvertBF16ToFINTEL = 6117,
ControlBarrierArriveINTEL = 6142,
ControlBarrierWaitINTEL = 6143,
ArithmeticFenceEXT = 6145,
TaskSequenceCreate = 6163,
TaskSequenceAsync = 6164,
TaskSequenceGet = 6165,
TaskSequenceRelease = 6166,
TypeTaskSequence = 6199,
SubgroupBlockPrefetchINTEL = 6221,
Subgroup2DBlockLoadINTEL = 6231,
Subgroup2DBlockLoadTransformINTEL = 6232,
Subgroup2DBlockLoadTransposeINTEL = 6233,
Subgroup2DBlockPrefetchINTEL = 6234,
Subgroup2DBlockStoreINTEL = 6235,
SubgroupMatrixMultiplyAccumulateINTEL = 6237,
BitwiseFunctionINTEL = 6242,
UntypedVariableLengthArrayINTEL = 6244,
ConditionalExtensionINTEL = 6248,
ConditionalEntryPointINTEL = 6249,
ConditionalCapabilityINTEL = 6250,
SpecConstantTargetINTEL = 6251,
SpecConstantArchitectureINTEL = 6252,
SpecConstantCapabilitiesINTEL = 6253,
ConditionalCopyObjectINTEL = 6254,
GroupIMulKHR = 6401,
GroupFMulKHR = 6402,
GroupBitwiseAndKHR = 6403,
GroupBitwiseOrKHR = 6404,
GroupBitwiseXorKHR = 6405,
GroupLogicalAndKHR = 6406,
GroupLogicalOrKHR = 6407,
GroupLogicalXorKHR = 6408,
RoundFToTF32INTEL = 6426,
MaskedGatherINTEL = 6428,
MaskedScatterINTEL = 6429,
ConvertHandleToImageINTEL = 6529,
ConvertHandleToSamplerINTEL = 6530,
ConvertHandleToSampledImageINTEL = 6531,
Max = 0x7fffffff,
};
pub const SpvOpMaxValue: comptime_int = @intFromEnum(SpvOp.ConvertHandleToSampledImageINTEL);