pub enum PipelineLayoutCreationError {
Show 21 variants
OomError(OomError),
RequirementNotMet {
required_for: &'static str,
requires_one_of: RequiresOneOf,
},
MaxBoundDescriptorSetsExceeded {
provided: u32,
max_supported: u32,
},
MaxDescriptorSetSamplersExceeded {
provided: u32,
max_supported: u32,
},
MaxDescriptorSetUniformBuffersExceeded {
provided: u32,
max_supported: u32,
},
MaxDescriptorSetUniformBuffersDynamicExceeded {
provided: u32,
max_supported: u32,
},
MaxDescriptorSetStorageBuffersExceeded {
provided: u32,
max_supported: u32,
},
MaxDescriptorSetStorageBuffersDynamicExceeded {
provided: u32,
max_supported: u32,
},
MaxDescriptorSetSampledImagesExceeded {
provided: u32,
max_supported: u32,
},
MaxDescriptorSetStorageImagesExceeded {
provided: u32,
max_supported: u32,
},
MaxDescriptorSetInputAttachmentsExceeded {
provided: u32,
max_supported: u32,
},
MaxPerStageResourcesExceeded {
provided: u32,
max_supported: u32,
},
MaxPerStageDescriptorSamplersExceeded {
provided: u32,
max_supported: u32,
},
MaxPerStageDescriptorUniformBuffersExceeded {
provided: u32,
max_supported: u32,
},
MaxPerStageDescriptorStorageBuffersExceeded {
provided: u32,
max_supported: u32,
},
MaxPerStageDescriptorSampledImagesExceeded {
provided: u32,
max_supported: u32,
},
MaxPerStageDescriptorStorageImagesExceeded {
provided: u32,
max_supported: u32,
},
MaxPerStageDescriptorInputAttachmentsExceeded {
provided: u32,
max_supported: u32,
},
MaxPushConstantsSizeExceeded {
provided: u32,
max_supported: u32,
},
PushConstantRangesStageMultiple,
SetLayoutsPushDescriptorMultiple,
}
Expand description
Error that can happen when creating a pipeline layout.
Variants
OomError(OomError)
Not enough memory.
RequirementNotMet
MaxBoundDescriptorSetsExceeded
The number of elements in set_layouts
is greater than the
max_bound_descriptor_sets
limit.
MaxDescriptorSetSamplersExceeded
The set_layouts
contain more DescriptorType::Sampler
,
DescriptorType::CombinedImageSampler
and DescriptorType::UniformTexelBuffer
descriptors than the
max_descriptor_set_samplers
limit.
MaxDescriptorSetUniformBuffersExceeded
The set_layouts
contain more DescriptorType::UniformBuffer
descriptors than the
max_descriptor_set_uniform_buffers
limit.
MaxDescriptorSetUniformBuffersDynamicExceeded
The set_layouts
contain more DescriptorType::UniformBufferDynamic
descriptors than the
max_descriptor_set_uniform_buffers_dynamic
limit.
MaxDescriptorSetStorageBuffersExceeded
The set_layouts
contain more DescriptorType::StorageBuffer
descriptors than the
max_descriptor_set_storage_buffers
limit.
MaxDescriptorSetStorageBuffersDynamicExceeded
The set_layouts
contain more DescriptorType::StorageBufferDynamic
descriptors than the
max_descriptor_set_storage_buffers_dynamic
limit.
MaxDescriptorSetSampledImagesExceeded
The set_layouts
contain more DescriptorType::SampledImage
and
DescriptorType::CombinedImageSampler
descriptors than the
max_descriptor_set_sampled_images
limit.
MaxDescriptorSetStorageImagesExceeded
The set_layouts
contain more DescriptorType::StorageImage
and
DescriptorType::StorageTexelBuffer
descriptors than the
max_descriptor_set_storage_images
limit.
MaxDescriptorSetInputAttachmentsExceeded
The set_layouts
contain more DescriptorType::InputAttachment
descriptors than the
max_descriptor_set_input_attachments
limit.
MaxPerStageResourcesExceeded
The set_layouts
contain more bound resources in a single stage than the
max_per_stage_resources
limit.
MaxPerStageDescriptorSamplersExceeded
The set_layouts
contain more DescriptorType::Sampler
and
DescriptorType::CombinedImageSampler
descriptors in a single stage than the
max_per_stage_descriptor_samplers
limit.
MaxPerStageDescriptorUniformBuffersExceeded
The set_layouts
contain more DescriptorType::UniformBuffer
and
DescriptorType::UniformBufferDynamic
descriptors in a single stage than the
max_per_stage_descriptor_uniform_buffers
limit.
MaxPerStageDescriptorStorageBuffersExceeded
The set_layouts
contain more DescriptorType::StorageBuffer
and
DescriptorType::StorageBufferDynamic
descriptors in a single stage than the
max_per_stage_descriptor_storage_buffers
limit.
MaxPerStageDescriptorSampledImagesExceeded
The set_layouts
contain more DescriptorType::SampledImage
,
DescriptorType::CombinedImageSampler
and DescriptorType::UniformTexelBuffer
descriptors in a single stage than the
max_per_stage_descriptor_sampled_images
limit.
MaxPerStageDescriptorStorageImagesExceeded
The set_layouts
contain more DescriptorType::StorageImage
and
DescriptorType::StorageTexelBuffer
descriptors in a single stage than the
max_per_stage_descriptor_storage_images
limit.
MaxPerStageDescriptorInputAttachmentsExceeded
The set_layouts
contain more DescriptorType::InputAttachment
descriptors in a single
stage than the
max_per_stage_descriptor_input_attachments
limit.
MaxPushConstantsSizeExceeded
An element in push_constant_ranges
has an offset + size
greater than the
max_push_constants_size
limit.
PushConstantRangesStageMultiple
A shader stage appears in multiple elements of push_constant_ranges
.
SetLayoutsPushDescriptorMultiple
Multiple elements of set_layouts
have push_descriptor
enabled.
Trait Implementations
sourceimpl Clone for PipelineLayoutCreationError
impl Clone for PipelineLayoutCreationError
sourcefn clone(&self) -> PipelineLayoutCreationError
fn clone(&self) -> PipelineLayoutCreationError
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more