Enum spirv_headers::Capability [−][src]
#[repr(u32)]pub enum Capability { 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, SubgroupBallotKHR, DrawParameters, SubgroupVoteKHR, StorageBuffer16BitAccess, UniformAndStorageBuffer16BitAccess, StoragePushConstant16, StorageInputOutput16, DeviceGroup, MultiView, VariablePointersStorageBuffer, VariablePointers, AtomicStorageOps, SampleMaskPostDepthCoverage, StorageBuffer8BitAccess, UniformAndStorageBuffer8BitAccess, StoragePushConstant8, Float16ImageAMD, ImageGatherBiasLodAMD, FragmentMaskAMD, StencilExportEXT, ImageReadWriteLodAMD, SampleMaskOverrideCoverageNV, GeometryShaderPassthroughNV, ShaderViewportIndexLayerEXT, ShaderViewportMaskNV, ShaderStereoViewNV, PerViewAttributesNV, FragmentFullyCoveredEXT, ShaderNonUniformEXT, RuntimeDescriptorArrayEXT, InputAttachmentArrayDynamicIndexingEXT, UniformTexelBufferArrayDynamicIndexingEXT, StorageTexelBufferArrayDynamicIndexingEXT, UniformBufferArrayNonUniformIndexingEXT, SampledImageArrayNonUniformIndexingEXT, StorageBufferArrayNonUniformIndexingEXT, StorageImageArrayNonUniformIndexingEXT, InputAttachmentArrayNonUniformIndexingEXT, UniformTexelBufferArrayNonUniformIndexingEXT, StorageTexelBufferArrayNonUniformIndexingEXT, SubgroupShuffleINTEL, SubgroupBufferBlockIOINTEL, SubgroupImageBlockIOINTEL, GroupNonUniformPartitionedNV, VulkanMemoryModelKHR, VulkanMemoryModelDeviceScopeKHR, }
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
SubgroupBallotKHR
DrawParameters
SubgroupVoteKHR
StorageBuffer16BitAccess
UniformAndStorageBuffer16BitAccess
StoragePushConstant16
StorageInputOutput16
DeviceGroup
MultiView
VariablePointersStorageBuffer
VariablePointers
AtomicStorageOps
SampleMaskPostDepthCoverage
StorageBuffer8BitAccess
UniformAndStorageBuffer8BitAccess
StoragePushConstant8
Float16ImageAMD
ImageGatherBiasLodAMD
FragmentMaskAMD
StencilExportEXT
ImageReadWriteLodAMD
SampleMaskOverrideCoverageNV
GeometryShaderPassthroughNV
ShaderViewportIndexLayerEXT
ShaderViewportMaskNV
ShaderStereoViewNV
PerViewAttributesNV
FragmentFullyCoveredEXT
ShaderNonUniformEXT
RuntimeDescriptorArrayEXT
InputAttachmentArrayDynamicIndexingEXT
UniformTexelBufferArrayDynamicIndexingEXT
StorageTexelBufferArrayDynamicIndexingEXT
UniformBufferArrayNonUniformIndexingEXT
SampledImageArrayNonUniformIndexingEXT
StorageBufferArrayNonUniformIndexingEXT
StorageImageArrayNonUniformIndexingEXT
InputAttachmentArrayNonUniformIndexingEXT
UniformTexelBufferArrayNonUniformIndexingEXT
StorageTexelBufferArrayNonUniformIndexingEXT
SubgroupShuffleINTEL
SubgroupBufferBlockIOINTEL
SubgroupImageBlockIOINTEL
GroupNonUniformPartitionedNV
VulkanMemoryModelKHR
VulkanMemoryModelDeviceScopeKHR
Methods
impl Capability
[src]
impl Capability
pub const StorageUniformBufferBlock16: Capability
StorageUniformBufferBlock16: Capability = Capability::StorageBuffer16BitAccess
pub const StorageUniform16: Capability
StorageUniform16: Capability = Capability::UniformAndStorageBuffer16BitAccess
pub const ShaderViewportIndexLayerNV: Capability
ShaderViewportIndexLayerNV: Capability = Capability::ShaderViewportIndexLayerEXT
Trait Implementations
impl Clone for Capability
[src]
impl Clone for Capability
fn clone(&self) -> Capability
[src]
fn clone(&self) -> Capability
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for Capability
[src]
impl Copy for Capability
impl Debug for Capability
[src]
impl Debug for Capability
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Capability
[src]
impl PartialEq for Capability
fn eq(&self, other: &Capability) -> bool
[src]
fn eq(&self, other: &Capability) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for Capability
[src]
impl Eq for Capability
impl PartialOrd for Capability
[src]
impl PartialOrd for Capability
fn partial_cmp(&self, other: &Capability) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Capability) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for Capability
[src]
impl Ord for Capability
fn cmp(&self, other: &Capability) -> Ordering
[src]
fn cmp(&self, other: &Capability) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl Hash for Capability
[src]
impl Hash for Capability
Auto Trait Implementations
impl Send for Capability
impl Send for Capability
impl Sync for Capability
impl Sync for Capability