pub enum CombinedImageSamplerDesugaring {
None,
SplitIntoOverlappedBinding,
}
Expand description
How to desugar combined image samplers into Naga IR
Variants§
None
Do not do any special handling for combined image samplers.
SplitIntoOverlappedBinding
Split a combined image sampler by creating a new sampler binding at the same descriptor set and binding location as the original combined image sampler.
The resulting module will fail validation until bindings have been adjusted to not overlap.
For texture arrays, a sampler array of the same size will be created.
Trait Implementations§
Source§impl Clone for CombinedImageSamplerDesugaring
impl Clone for CombinedImageSamplerDesugaring
Source§fn clone(&self) -> CombinedImageSamplerDesugaring
fn clone(&self) -> CombinedImageSamplerDesugaring
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 moreimpl Copy for CombinedImageSamplerDesugaring
Auto Trait Implementations§
impl Freeze for CombinedImageSamplerDesugaring
impl RefUnwindSafe for CombinedImageSamplerDesugaring
impl Send for CombinedImageSamplerDesugaring
impl Sync for CombinedImageSamplerDesugaring
impl Unpin for CombinedImageSamplerDesugaring
impl UnwindSafe for CombinedImageSamplerDesugaring
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