Enum spirv::Capability[][src]

#[repr(u32)]
pub enum Capability {
Show 158 variants Matrix, Shader, Geometry, Tessellation, Addresses, Linkage, Kernel, Vector16, Float16Buffer, Float16, Float64, Int64, Int64Atomics, ImageBasic, ImageReadWrite, ImageMipmap, Pipes, Groups, DeviceEnqueue, LiteralSampler, AtomicStorage, Int16, TessellationPointSize, GeometryPointSize, ImageGatherExtended, StorageImageMultisample, UniformBufferArrayDynamicIndexing, SampledImageArrayDynamicIndexing, StorageBufferArrayDynamicIndexing, StorageImageArrayDynamicIndexing, ClipDistance, CullDistance, ImageCubeArray, SampleRateShading, ImageRect, SampledRect, GenericPointer, Int8, InputAttachment, SparseResidency, MinLod, Sampled1D, Image1D, SampledCubeArray, SampledBuffer, ImageBuffer, ImageMSArray, StorageImageExtendedFormats, ImageQuery, DerivativeControl, InterpolationFunction, TransformFeedback, GeometryStreams, StorageImageReadWithoutFormat, StorageImageWriteWithoutFormat, MultiViewport, SubgroupDispatch, NamedBarrier, PipeStorage, GroupNonUniform, GroupNonUniformVote, GroupNonUniformArithmetic, GroupNonUniformBallot, GroupNonUniformShuffle, GroupNonUniformShuffleRelative, GroupNonUniformClustered, GroupNonUniformQuad, ShaderLayer, ShaderViewportIndex, FragmentShadingRateKHR, SubgroupBallotKHR, DrawParameters, SubgroupVoteKHR, StorageBuffer16BitAccess, UniformAndStorageBuffer16BitAccess, StoragePushConstant16, StorageInputOutput16, DeviceGroup, MultiView, VariablePointersStorageBuffer, VariablePointers, AtomicStorageOps, SampleMaskPostDepthCoverage, StorageBuffer8BitAccess, UniformAndStorageBuffer8BitAccess, StoragePushConstant8, DenormPreserve, DenormFlushToZero, SignedZeroInfNanPreserve, RoundingModeRTE, RoundingModeRTZ, RayQueryProvisionalKHR, RayQueryKHR, RayTraversalPrimitiveCullingKHR, RayTracingKHR, Float16ImageAMD, ImageGatherBiasLodAMD, FragmentMaskAMD, StencilExportEXT, ImageReadWriteLodAMD, Int64ImageEXT, ShaderClockKHR, SampleMaskOverrideCoverageNV, GeometryShaderPassthroughNV, ShaderViewportIndexLayerEXT, ShaderViewportMaskNV, ShaderStereoViewNV, PerViewAttributesNV, FragmentFullyCoveredEXT, MeshShadingNV, ImageFootprintNV, FragmentBarycentricNV, ComputeDerivativeGroupQuadsNV, FragmentDensityEXT, GroupNonUniformPartitionedNV, ShaderNonUniform, RuntimeDescriptorArray, InputAttachmentArrayDynamicIndexing, UniformTexelBufferArrayDynamicIndexing, StorageTexelBufferArrayDynamicIndexing, UniformBufferArrayNonUniformIndexing, SampledImageArrayNonUniformIndexing, StorageBufferArrayNonUniformIndexing, StorageImageArrayNonUniformIndexing, InputAttachmentArrayNonUniformIndexing, UniformTexelBufferArrayNonUniformIndexing, StorageTexelBufferArrayNonUniformIndexing, RayTracingNV, VulkanMemoryModel, VulkanMemoryModelDeviceScope, PhysicalStorageBufferAddresses, ComputeDerivativeGroupLinearNV, RayTracingProvisionalKHR, CooperativeMatrixNV, FragmentShaderSampleInterlockEXT, FragmentShaderShadingRateInterlockEXT, ShaderSMBuiltinsNV, FragmentShaderPixelInterlockEXT, DemoteToHelperInvocationEXT, SubgroupShuffleINTEL, SubgroupBufferBlockIOINTEL, SubgroupImageBlockIOINTEL, SubgroupImageMediaBlockIOINTEL, IntegerFunctions2INTEL, FunctionPointersINTEL, IndirectReferencesINTEL, SubgroupAvcMotionEstimationINTEL, SubgroupAvcMotionEstimationIntraINTEL, SubgroupAvcMotionEstimationChromaINTEL, FPGAMemoryAttributesINTEL, UnstructuredLoopControlsINTEL, FPGALoopControlsINTEL, KernelAttributesINTEL, FPGAKernelAttributesINTEL, BlockingPipesINTEL, FPGARegINTEL, AtomicFloat32AddEXT, AtomicFloat64AddEXT,
}
Expand description

/// SPIR-V operand kind: Capability

Variants

Matrix
Shader
Geometry
Tessellation
Addresses
Linkage
Kernel
Vector16
Float16Buffer
Float16
Float64
Int64
Int64Atomics
ImageBasic
ImageReadWrite
ImageMipmap
Pipes
Groups
DeviceEnqueue
LiteralSampler
AtomicStorage
Int16
TessellationPointSize
GeometryPointSize
ImageGatherExtended
StorageImageMultisample
UniformBufferArrayDynamicIndexing
SampledImageArrayDynamicIndexing
StorageBufferArrayDynamicIndexing
StorageImageArrayDynamicIndexing
ClipDistance
CullDistance
ImageCubeArray
SampleRateShading
ImageRect
SampledRect
GenericPointer
Int8
InputAttachment
SparseResidency
MinLod
Sampled1D
Image1D
SampledCubeArray
SampledBuffer
ImageBuffer
ImageMSArray
StorageImageExtendedFormats
ImageQuery
DerivativeControl
InterpolationFunction
TransformFeedback
GeometryStreams
StorageImageReadWithoutFormat
StorageImageWriteWithoutFormat
MultiViewport
SubgroupDispatch
NamedBarrier
PipeStorage
GroupNonUniform
GroupNonUniformVote
GroupNonUniformArithmetic
GroupNonUniformBallot
GroupNonUniformShuffle
GroupNonUniformShuffleRelative
GroupNonUniformClustered
GroupNonUniformQuad
ShaderLayer
ShaderViewportIndex
FragmentShadingRateKHR
SubgroupBallotKHR
DrawParameters
SubgroupVoteKHR
StorageBuffer16BitAccess
UniformAndStorageBuffer16BitAccess
StoragePushConstant16
StorageInputOutput16
DeviceGroup
MultiView
VariablePointersStorageBuffer
VariablePointers
AtomicStorageOps
SampleMaskPostDepthCoverage
StorageBuffer8BitAccess
UniformAndStorageBuffer8BitAccess
StoragePushConstant8
DenormPreserve
DenormFlushToZero
SignedZeroInfNanPreserve
RoundingModeRTE
RoundingModeRTZ
RayQueryProvisionalKHR
RayQueryKHR
RayTraversalPrimitiveCullingKHR
RayTracingKHR
Float16ImageAMD
ImageGatherBiasLodAMD
FragmentMaskAMD
StencilExportEXT
ImageReadWriteLodAMD
Int64ImageEXT
ShaderClockKHR
SampleMaskOverrideCoverageNV
GeometryShaderPassthroughNV
ShaderViewportIndexLayerEXT
ShaderViewportMaskNV
ShaderStereoViewNV
PerViewAttributesNV
FragmentFullyCoveredEXT
MeshShadingNV
ImageFootprintNV
FragmentBarycentricNV
ComputeDerivativeGroupQuadsNV
FragmentDensityEXT
GroupNonUniformPartitionedNV
ShaderNonUniform
RuntimeDescriptorArray
InputAttachmentArrayDynamicIndexing
UniformTexelBufferArrayDynamicIndexing
StorageTexelBufferArrayDynamicIndexing
UniformBufferArrayNonUniformIndexing
SampledImageArrayNonUniformIndexing
StorageBufferArrayNonUniformIndexing
StorageImageArrayNonUniformIndexing
InputAttachmentArrayNonUniformIndexing
UniformTexelBufferArrayNonUniformIndexing
StorageTexelBufferArrayNonUniformIndexing
RayTracingNV
VulkanMemoryModel
VulkanMemoryModelDeviceScope
PhysicalStorageBufferAddresses
ComputeDerivativeGroupLinearNV
RayTracingProvisionalKHR
CooperativeMatrixNV
FragmentShaderSampleInterlockEXT
FragmentShaderShadingRateInterlockEXT
ShaderSMBuiltinsNV
FragmentShaderPixelInterlockEXT
DemoteToHelperInvocationEXT
SubgroupShuffleINTEL
SubgroupBufferBlockIOINTEL
SubgroupImageBlockIOINTEL
SubgroupImageMediaBlockIOINTEL
IntegerFunctions2INTEL
FunctionPointersINTEL
IndirectReferencesINTEL
SubgroupAvcMotionEstimationINTEL
SubgroupAvcMotionEstimationIntraINTEL
SubgroupAvcMotionEstimationChromaINTEL
FPGAMemoryAttributesINTEL
UnstructuredLoopControlsINTEL
FPGALoopControlsINTEL
KernelAttributesINTEL
FPGAKernelAttributesINTEL
BlockingPipesINTEL
FPGARegINTEL
AtomicFloat32AddEXT
AtomicFloat64AddEXT

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Converts an i64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts an u64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts an isize to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts an i8 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts an i16 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts an i32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts an i128 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts a usize to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts an u8 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts an u16 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts an u32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts an u128 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts a f32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts a f64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.