pub enum ExecutionMode {
Show 67 variants
Invocations {
number_of_invocation_invocations: u32,
},
SpacingEqual,
SpacingFractionalEven,
SpacingFractionalOdd,
VertexOrderCw,
VertexOrderCcw,
PixelCenterInteger,
OriginUpperLeft,
OriginLowerLeft,
EarlyFragmentTests,
PointMode,
Xfb,
DepthReplacing,
DepthGreater,
DepthLess,
DepthUnchanged,
LocalSize {
x_size: u32,
y_size: u32,
z_size: u32,
},
LocalSizeHint {
x_size: u32,
y_size: u32,
z_size: u32,
},
InputPoints,
InputLines,
InputLinesAdjacency,
Triangles,
InputTrianglesAdjacency,
Quads,
Isolines,
OutputVertices {
vertex_count: u32,
},
OutputPoints,
OutputLineStrip,
OutputTriangleStrip,
VecTypeHint {
vector_type: u32,
},
ContractionOff,
Initializer,
Finalizer,
SubgroupSize {
subgroup_size: u32,
},
SubgroupsPerWorkgroup {
subgroups_per_workgroup: u32,
},
SubgroupsPerWorkgroupId {
subgroups_per_workgroup: Id,
},
LocalSizeId {
x_size: Id,
y_size: Id,
z_size: Id,
},
LocalSizeHintId {
x_size_hint: Id,
y_size_hint: Id,
z_size_hint: Id,
},
SubgroupUniformControlFlowKHR,
PostDepthCoverage,
DenormPreserve {
target_width: u32,
},
DenormFlushToZero {
target_width: u32,
},
SignedZeroInfNanPreserve {
target_width: u32,
},
RoundingModeRTE {
target_width: u32,
},
RoundingModeRTZ {
target_width: u32,
},
StencilRefReplacingEXT,
OutputLinesNV,
OutputPrimitivesNV {
primitive_count: u32,
},
DerivativeGroupQuadsNV,
DerivativeGroupLinearNV,
OutputTrianglesNV,
PixelInterlockOrderedEXT,
PixelInterlockUnorderedEXT,
SampleInterlockOrderedEXT,
SampleInterlockUnorderedEXT,
ShadingRateInterlockOrderedEXT,
ShadingRateInterlockUnorderedEXT,
SharedLocalMemorySizeINTEL {
size: u32,
},
RoundingModeRTPINTEL {
target_width: u32,
},
RoundingModeRTNINTEL {
target_width: u32,
},
FloatingPointModeALTINTEL {
target_width: u32,
},
FloatingPointModeIEEEINTEL {
target_width: u32,
},
MaxWorkgroupSizeINTEL {
max_x_size: u32,
max_y_size: u32,
max_z_size: u32,
},
MaxWorkDimINTEL {
max_dimensions: u32,
},
NoGlobalOffsetINTEL,
NumSIMDWorkitemsINTEL {
vector_width: u32,
},
SchedulerTargetFmaxMhzINTEL {
target_fmax: u32,
},
}
Variants
Invocations
Fields
number_of_invocation_invocations: u32
SpacingEqual
SpacingFractionalEven
SpacingFractionalOdd
VertexOrderCw
VertexOrderCcw
PixelCenterInteger
OriginUpperLeft
OriginLowerLeft
EarlyFragmentTests
PointMode
Xfb
DepthReplacing
DepthGreater
DepthLess
DepthUnchanged
LocalSize
LocalSizeHint
InputPoints
InputLines
InputLinesAdjacency
Triangles
InputTrianglesAdjacency
Quads
Isolines
OutputVertices
Fields
vertex_count: u32
OutputPoints
OutputLineStrip
OutputTriangleStrip
VecTypeHint
Fields
vector_type: u32
ContractionOff
Initializer
Finalizer
SubgroupSize
Fields
subgroup_size: u32
SubgroupsPerWorkgroup
Fields
subgroups_per_workgroup: u32
SubgroupsPerWorkgroupId
Fields
subgroups_per_workgroup: Id
LocalSizeId
LocalSizeHintId
SubgroupUniformControlFlowKHR
PostDepthCoverage
DenormPreserve
Fields
target_width: u32
DenormFlushToZero
Fields
target_width: u32
SignedZeroInfNanPreserve
Fields
target_width: u32
RoundingModeRTE
Fields
target_width: u32
RoundingModeRTZ
Fields
target_width: u32
StencilRefReplacingEXT
OutputLinesNV
OutputPrimitivesNV
Fields
primitive_count: u32
DerivativeGroupQuadsNV
DerivativeGroupLinearNV
OutputTrianglesNV
PixelInterlockOrderedEXT
PixelInterlockUnorderedEXT
SampleInterlockOrderedEXT
SampleInterlockUnorderedEXT
ShadingRateInterlockOrderedEXT
ShadingRateInterlockUnorderedEXT
SharedLocalMemorySizeINTEL
RoundingModeRTPINTEL
Fields
target_width: u32
RoundingModeRTNINTEL
Fields
target_width: u32
FloatingPointModeALTINTEL
Fields
target_width: u32
FloatingPointModeIEEEINTEL
Fields
target_width: u32
MaxWorkgroupSizeINTEL
MaxWorkDimINTEL
Fields
max_dimensions: u32
NoGlobalOffsetINTEL
NumSIMDWorkitemsINTEL
Fields
vector_width: u32
SchedulerTargetFmaxMhzINTEL
Fields
target_fmax: u32
Trait Implementations
sourceimpl Clone for ExecutionMode
impl Clone for ExecutionMode
sourcefn clone(&self) -> ExecutionMode
fn clone(&self) -> ExecutionMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ExecutionMode
impl Debug for ExecutionMode
sourceimpl PartialEq<ExecutionMode> for ExecutionMode
impl PartialEq<ExecutionMode> for ExecutionMode
sourcefn eq(&self, other: &ExecutionMode) -> bool
fn eq(&self, other: &ExecutionMode) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ExecutionMode) -> bool
fn ne(&self, other: &ExecutionMode) -> bool
This method tests for !=
.
impl StructuralPartialEq for ExecutionMode
Auto Trait Implementations
impl RefUnwindSafe for ExecutionMode
impl Send for ExecutionMode
impl Sync for ExecutionMode
impl Unpin for ExecutionMode
impl UnwindSafe for ExecutionMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more