[][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.



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.


An element is missing from one of the interfaces.

Fields of MissingElement

location: u32

Location of the missing element.


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>, 

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> BorrowMut<T> for T where
    T: ?Sized

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