Struct naga::valid::interface::VaryingContext
source · struct VaryingContext<'a> {
stage: ShaderStage,
output: bool,
second_blend_source: bool,
types: &'a UniqueArena<Type>,
type_info: &'a Vec<TypeInfo>,
location_mask: &'a mut BitSet,
built_ins: &'a mut FastHashSet<BuiltIn>,
capabilities: Capabilities,
flags: ValidationFlags,
}
Fields§
§stage: ShaderStage
§output: bool
§second_blend_source: bool
§types: &'a UniqueArena<Type>
§type_info: &'a Vec<TypeInfo>
§location_mask: &'a mut BitSet
§built_ins: &'a mut FastHashSet<BuiltIn>
§capabilities: Capabilities
§flags: ValidationFlags
Implementations§
source§impl VaryingContext<'_>
impl VaryingContext<'_>
fn validate_impl( &mut self, ep: &EntryPoint, ty: Handle<Type>, binding: &Binding, ) -> Result<(), VaryingError>
fn validate( &mut self, ep: &EntryPoint, ty: Handle<Type>, binding: Option<&Binding>, ) -> Result<(), WithSpan<VaryingError>>
Auto Trait Implementations§
impl<'a> Freeze for VaryingContext<'a>
impl<'a> RefUnwindSafe for VaryingContext<'a>
impl<'a> Send for VaryingContext<'a>
impl<'a> Sync for VaryingContext<'a>
impl<'a> Unpin for VaryingContext<'a>
impl<'a> !UnwindSafe for VaryingContext<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more