Enum wgpu_core::command::compute::ComputePassErrorInner
source · pub enum ComputePassErrorInner {
Show 21 variants
Device(DeviceError),
Encoder(CommandEncoderError),
InvalidParentEncoder,
BindGroupIndexOutOfRange {
index: u32,
max: u32,
},
DestroyedResource(DestroyedResourceError),
UnalignedIndirectBufferOffset(BufferAddress),
IndirectBufferOverrun {
offset: u64,
end_offset: u64,
buffer_size: u64,
},
ResourceUsageCompatibility(ResourceUsageCompatibilityError),
MissingBufferUsage(MissingBufferUsageError),
InvalidPopDebugGroup,
Dispatch(DispatchError),
Bind(BindError),
PushConstants(PushConstantUploadError),
PushConstantOffsetAlignment,
PushConstantSizeAlignment,
PushConstantOutOfMemory,
QueryUse(QueryUseError),
MissingFeatures(MissingFeatures),
MissingDownlevelFlags(MissingDownlevelFlags),
PassEnded,
InvalidResource(InvalidResourceError),
}
Expand description
Error encountered when performing a compute pass.
Variants§
Device(DeviceError)
Encoder(CommandEncoderError)
InvalidParentEncoder
BindGroupIndexOutOfRange
DestroyedResource(DestroyedResourceError)
UnalignedIndirectBufferOffset(BufferAddress)
IndirectBufferOverrun
ResourceUsageCompatibility(ResourceUsageCompatibilityError)
MissingBufferUsage(MissingBufferUsageError)
InvalidPopDebugGroup
Dispatch(DispatchError)
Bind(BindError)
PushConstants(PushConstantUploadError)
PushConstantOffsetAlignment
PushConstantSizeAlignment
PushConstantOutOfMemory
QueryUse(QueryUseError)
MissingFeatures(MissingFeatures)
MissingDownlevelFlags(MissingDownlevelFlags)
PassEnded
InvalidResource(InvalidResourceError)
Trait Implementations§
source§impl Clone for ComputePassErrorInner
impl Clone for ComputePassErrorInner
source§fn clone(&self) -> ComputePassErrorInner
fn clone(&self) -> ComputePassErrorInner
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ComputePassErrorInner
impl Debug for ComputePassErrorInner
source§impl Display for ComputePassErrorInner
impl Display for ComputePassErrorInner
source§impl Error for ComputePassErrorInner
impl Error for ComputePassErrorInner
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<BindError> for ComputePassErrorInner
impl From<BindError> for ComputePassErrorInner
source§impl From<CommandEncoderError> for ComputePassErrorInner
impl From<CommandEncoderError> for ComputePassErrorInner
source§fn from(source: CommandEncoderError) -> Self
fn from(source: CommandEncoderError) -> Self
Converts to this type from the input type.
source§impl From<DestroyedResourceError> for ComputePassErrorInner
impl From<DestroyedResourceError> for ComputePassErrorInner
source§fn from(source: DestroyedResourceError) -> Self
fn from(source: DestroyedResourceError) -> Self
Converts to this type from the input type.
source§impl From<DeviceError> for ComputePassErrorInner
impl From<DeviceError> for ComputePassErrorInner
source§fn from(source: DeviceError) -> Self
fn from(source: DeviceError) -> Self
Converts to this type from the input type.
source§impl From<DispatchError> for ComputePassErrorInner
impl From<DispatchError> for ComputePassErrorInner
source§fn from(source: DispatchError) -> Self
fn from(source: DispatchError) -> Self
Converts to this type from the input type.
source§impl From<InvalidResourceError> for ComputePassErrorInner
impl From<InvalidResourceError> for ComputePassErrorInner
source§fn from(source: InvalidResourceError) -> Self
fn from(source: InvalidResourceError) -> Self
Converts to this type from the input type.
source§impl From<MissingBufferUsageError> for ComputePassErrorInner
impl From<MissingBufferUsageError> for ComputePassErrorInner
source§fn from(source: MissingBufferUsageError) -> Self
fn from(source: MissingBufferUsageError) -> Self
Converts to this type from the input type.
source§impl From<MissingDownlevelFlags> for ComputePassErrorInner
impl From<MissingDownlevelFlags> for ComputePassErrorInner
source§fn from(source: MissingDownlevelFlags) -> Self
fn from(source: MissingDownlevelFlags) -> Self
Converts to this type from the input type.
source§impl From<MissingFeatures> for ComputePassErrorInner
impl From<MissingFeatures> for ComputePassErrorInner
source§fn from(source: MissingFeatures) -> Self
fn from(source: MissingFeatures) -> Self
Converts to this type from the input type.
source§impl From<PushConstantUploadError> for ComputePassErrorInner
impl From<PushConstantUploadError> for ComputePassErrorInner
source§fn from(source: PushConstantUploadError) -> Self
fn from(source: PushConstantUploadError) -> Self
Converts to this type from the input type.
source§impl From<QueryUseError> for ComputePassErrorInner
impl From<QueryUseError> for ComputePassErrorInner
source§fn from(source: QueryUseError) -> Self
fn from(source: QueryUseError) -> Self
Converts to this type from the input type.
source§impl From<ResourceUsageCompatibilityError> for ComputePassErrorInner
impl From<ResourceUsageCompatibilityError> for ComputePassErrorInner
source§fn from(source: ResourceUsageCompatibilityError) -> Self
fn from(source: ResourceUsageCompatibilityError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ComputePassErrorInner
impl !RefUnwindSafe for ComputePassErrorInner
impl Send for ComputePassErrorInner
impl Sync for ComputePassErrorInner
impl Unpin for ComputePassErrorInner
impl !UnwindSafe for ComputePassErrorInner
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)