pub enum ComputePipelineCreationError {
OomError(OomError),
DescriptorSetLayoutCreationError(DescriptorSetLayoutCreationError),
PipelineLayoutCreationError(PipelineLayoutCreationError),
IncompatiblePipelineLayout(PipelineLayoutSupersetError),
IncompatibleSpecializationConstants,
}
Expand description
Error that can happen when creating a compute pipeline.
Variants§
OomError(OomError)
Not enough memory.
DescriptorSetLayoutCreationError(DescriptorSetLayoutCreationError)
Error while creating a descriptor set layout object.
PipelineLayoutCreationError(PipelineLayoutCreationError)
Error while creating the pipeline layout object.
IncompatiblePipelineLayout(PipelineLayoutSupersetError)
The pipeline layout is not compatible with what the shader expects.
IncompatibleSpecializationConstants
The provided specialization constants are not compatible with what the shader expects.
Trait Implementations§
source§impl Clone for ComputePipelineCreationError
impl Clone for ComputePipelineCreationError
source§fn clone(&self) -> ComputePipelineCreationError
fn clone(&self) -> ComputePipelineCreationError
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 ComputePipelineCreationError
impl Debug for ComputePipelineCreationError
source§impl Error for ComputePipelineCreationError
impl Error for ComputePipelineCreationError
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<DescriptorSetLayoutCreationError> for ComputePipelineCreationError
impl From<DescriptorSetLayoutCreationError> for ComputePipelineCreationError
source§fn from(err: DescriptorSetLayoutCreationError) -> Self
fn from(err: DescriptorSetLayoutCreationError) -> Self
Converts to this type from the input type.
source§impl From<OomError> for ComputePipelineCreationError
impl From<OomError> for ComputePipelineCreationError
source§fn from(err: OomError) -> ComputePipelineCreationError
fn from(err: OomError) -> ComputePipelineCreationError
Converts to this type from the input type.
source§impl From<PipelineLayoutCreationError> for ComputePipelineCreationError
impl From<PipelineLayoutCreationError> for ComputePipelineCreationError
source§fn from(err: PipelineLayoutCreationError) -> Self
fn from(err: PipelineLayoutCreationError) -> Self
Converts to this type from the input type.
source§impl From<PipelineLayoutSupersetError> for ComputePipelineCreationError
impl From<PipelineLayoutSupersetError> for ComputePipelineCreationError
source§fn from(err: PipelineLayoutSupersetError) -> Self
fn from(err: PipelineLayoutSupersetError) -> Self
Converts to this type from the input type.
source§impl From<VulkanError> for ComputePipelineCreationError
impl From<VulkanError> for ComputePipelineCreationError
source§fn from(err: VulkanError) -> ComputePipelineCreationError
fn from(err: VulkanError) -> ComputePipelineCreationError
Converts to this type from the input type.