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
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]
fn clone(&self) -> ShaderInterfaceMismatchError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for ShaderInterfaceMismatchError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for ShaderInterfaceMismatchError
[src]
fn eq(&self, __arg_0: &ShaderInterfaceMismatchError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ShaderInterfaceMismatchError) -> bool
[src]
This method tests for !=
.
impl Eq for ShaderInterfaceMismatchError
[src]
impl Error for ShaderInterfaceMismatchError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more