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

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

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

Fields of ElementsCountMismatch

Number of elements in the first interface.

Number of elements in the second interface.

An element is missing from one of the interfaces.

Fields of MissingElement

Location of the missing element.

The format of an element does not match.

Fields of FormatMismatch

Location of the element that mismatches.

Format in the first interface.

Format in the second interface.

Trait Implementations

impl Clone for ShaderInterfaceMismatchError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ShaderInterfaceMismatchError
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for ShaderInterfaceMismatchError
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for ShaderInterfaceMismatchError
[src]

impl Error for ShaderInterfaceMismatchError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

impl Display for ShaderInterfaceMismatchError
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations