Enum naga::valid::EntryPointError
source · pub enum EntryPointError {
Conflict,
UnexpectedEarlyDepthTest,
UnexpectedWorkgroupSize,
OutOfRangeWorkgroupSize,
ForbiddenStageOperations,
InvalidGlobalUsage(Handle<GlobalVariable>, GlobalUse),
BindingCollision(Handle<GlobalVariable>),
Argument(u32, VaryingError),
Result(VaryingError),
InvalidIntegerInterpolation {
location: u32,
},
Function(FunctionError),
}
Variants§
Conflict
UnexpectedEarlyDepthTest
UnexpectedWorkgroupSize
OutOfRangeWorkgroupSize
ForbiddenStageOperations
InvalidGlobalUsage(Handle<GlobalVariable>, GlobalUse)
BindingCollision(Handle<GlobalVariable>)
Argument(u32, VaryingError)
Result(VaryingError)
InvalidIntegerInterpolation
Function(FunctionError)
Trait Implementations§
source§impl Clone for EntryPointError
impl Clone for EntryPointError
source§fn clone(&self) -> EntryPointError
fn clone(&self) -> EntryPointError
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 moresource§impl Debug for EntryPointError
impl Debug for EntryPointError
source§impl Display for EntryPointError
impl Display for EntryPointError
source§impl Error for EntryPointError
impl Error for EntryPointError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<FunctionError> for EntryPointError
impl From<FunctionError> for EntryPointError
source§fn from(source: FunctionError) -> Self
fn from(source: FunctionError) -> Self
Converts to this type from the input type.
source§impl From<VaryingError> for EntryPointError
impl From<VaryingError> for EntryPointError
source§fn from(source: VaryingError) -> Self
fn from(source: VaryingError) -> Self
Converts to this type from the input type.