[][src]Enum vulkano::pipeline::shader::ShaderInterfaceMismatchError

pub enum ShaderInterfaceMismatchError {
    ElementsCountMismatch {
        self_elements: u32,
        other_elements: u32,
    },
    MissingElement {
        location: u32,
    },
    FormatMismatch {
        location: u32,
        self_format: Format,
        other_format: Format,
    },
}

Error that can happen when the interface mismatches between two shader stages.

Variants

ElementsCountMismatch

The number of elements is not the same between the two shader interfaces.

Fields of ElementsCountMismatch

self_elements: u32

Number of elements in the first interface.

other_elements: u32

Number of elements in the second interface.

MissingElement

An element is missing from one of the interfaces.

Fields of MissingElement

location: u32

Location of the missing element.

FormatMismatch

The format of an element does not match.

Fields of FormatMismatch

location: u32

Location of the element that mismatches.

self_format: Format

Format in the first interface.

other_format: Format

Format in the second interface.

Trait Implementations

impl Clone for ShaderInterfaceMismatchError[src]

impl Eq for ShaderInterfaceMismatchError[src]

impl PartialEq<ShaderInterfaceMismatchError> for ShaderInterfaceMismatchError[src]

impl Display for ShaderInterfaceMismatchError[src]

impl Debug for ShaderInterfaceMismatchError[src]

impl StructuralPartialEq for ShaderInterfaceMismatchError[src]

impl StructuralEq for ShaderInterfaceMismatchError[src]

impl Error for ShaderInterfaceMismatchError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Content for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]