Enum wgpu::core::command::ComputePassErrorInner
source · pub enum ComputePassErrorInner {
Show 19 variants
Device(DeviceError),
Encoder(CommandEncoderError),
InvalidBindGroup(usize),
InvalidDevice(Id<Device<Api>>),
BindGroupIndexOutOfRange {
index: u32,
max: u32,
},
InvalidPipeline(Id<ComputePipeline<Api>>),
InvalidQuerySet(Id<QuerySet<Api>>),
InvalidIndirectBuffer(Id<Buffer<Api>>),
IndirectBufferOverrun {
offset: u64,
end_offset: u64,
buffer_size: u64,
},
InvalidBuffer(Id<Buffer<Api>>),
ResourceUsageConflict(UsageConflict),
MissingBufferUsage(MissingBufferUsageError),
InvalidPopDebugGroup,
Dispatch(DispatchError),
Bind(BindError),
PushConstants(PushConstantUploadError),
QueryUse(QueryUseError),
MissingFeatures(MissingFeatures),
MissingDownlevelFlags(MissingDownlevelFlags),
}
Expand description
Error encountered when performing a compute pass.
Variants§
Device(DeviceError)
Encoder(CommandEncoderError)
InvalidBindGroup(usize)
InvalidDevice(Id<Device<Api>>)
BindGroupIndexOutOfRange
InvalidPipeline(Id<ComputePipeline<Api>>)
InvalidQuerySet(Id<QuerySet<Api>>)
InvalidIndirectBuffer(Id<Buffer<Api>>)
IndirectBufferOverrun
InvalidBuffer(Id<Buffer<Api>>)
ResourceUsageConflict(UsageConflict)
MissingBufferUsage(MissingBufferUsageError)
InvalidPopDebugGroup
Dispatch(DispatchError)
Bind(BindError)
PushConstants(PushConstantUploadError)
QueryUse(QueryUseError)
MissingFeatures(MissingFeatures)
MissingDownlevelFlags(MissingDownlevelFlags)
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)>
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§fn from(source: BindError) -> ComputePassErrorInner
fn from(source: BindError) -> ComputePassErrorInner
Converts to this type from the input type.
source§impl From<CommandEncoderError> for ComputePassErrorInner
impl From<CommandEncoderError> for ComputePassErrorInner
source§fn from(source: CommandEncoderError) -> ComputePassErrorInner
fn from(source: CommandEncoderError) -> ComputePassErrorInner
Converts to this type from the input type.
source§impl From<DeviceError> for ComputePassErrorInner
impl From<DeviceError> for ComputePassErrorInner
source§fn from(source: DeviceError) -> ComputePassErrorInner
fn from(source: DeviceError) -> ComputePassErrorInner
Converts to this type from the input type.
source§impl From<DispatchError> for ComputePassErrorInner
impl From<DispatchError> for ComputePassErrorInner
source§fn from(source: DispatchError) -> ComputePassErrorInner
fn from(source: DispatchError) -> ComputePassErrorInner
Converts to this type from the input type.
source§impl From<MissingBufferUsageError> for ComputePassErrorInner
impl From<MissingBufferUsageError> for ComputePassErrorInner
source§fn from(source: MissingBufferUsageError) -> ComputePassErrorInner
fn from(source: MissingBufferUsageError) -> ComputePassErrorInner
Converts to this type from the input type.
source§impl From<MissingDownlevelFlags> for ComputePassErrorInner
impl From<MissingDownlevelFlags> for ComputePassErrorInner
source§fn from(source: MissingDownlevelFlags) -> ComputePassErrorInner
fn from(source: MissingDownlevelFlags) -> ComputePassErrorInner
Converts to this type from the input type.
source§impl From<MissingFeatures> for ComputePassErrorInner
impl From<MissingFeatures> for ComputePassErrorInner
source§fn from(source: MissingFeatures) -> ComputePassErrorInner
fn from(source: MissingFeatures) -> ComputePassErrorInner
Converts to this type from the input type.
source§impl From<PushConstantUploadError> for ComputePassErrorInner
impl From<PushConstantUploadError> for ComputePassErrorInner
source§fn from(source: PushConstantUploadError) -> ComputePassErrorInner
fn from(source: PushConstantUploadError) -> ComputePassErrorInner
Converts to this type from the input type.
source§impl From<QueryUseError> for ComputePassErrorInner
impl From<QueryUseError> for ComputePassErrorInner
source§fn from(source: QueryUseError) -> ComputePassErrorInner
fn from(source: QueryUseError) -> ComputePassErrorInner
Converts to this type from the input type.
source§impl From<UsageConflict> for ComputePassErrorInner
impl From<UsageConflict> for ComputePassErrorInner
source§fn from(source: UsageConflict) -> ComputePassErrorInner
fn from(source: UsageConflict) -> ComputePassErrorInner
Converts to this type from the input type.
source§impl PrettyError for ComputePassErrorInner
impl PrettyError for ComputePassErrorInner
fn fmt_pretty(&self, fmt: &mut ErrorFormatter<'_>)
Auto Trait Implementations§
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