pub struct TextureUse {
pub samples: u32,
pub loads: u32,
pub queries: u32,
}Expand description
How many texture reads of a run were answered with a stand-in.
Fields§
§samples: u32Samples answered with a stand-in.
loads: u32Loads answered with a stand-in.
queries: u32Size and level-count queries, as the lifted program asks them: one GetDimensions of a size and a level count
may be two.
Implementations§
Source§impl TextureUse
impl TextureUse
Sourcepub fn stand_ins(&self) -> Option<String>
pub fn stand_ins(&self) -> Option<String>
The stand-ins the run’s texture reads were answered with, as the part of a reason that names them; None when it
read no texture.
Sourcepub fn reason(&self, why: String) -> String
pub fn reason(&self, why: String) -> String
why a check of the run’s clip position failed, with the stand-ins the run’s texture reads were answered with
where it read any (TextureUse::stand_ins).
Trait Implementations§
Source§impl Clone for TextureUse
impl Clone for TextureUse
impl Copy for TextureUse
Source§impl Debug for TextureUse
impl Debug for TextureUse
Source§impl Default for TextureUse
impl Default for TextureUse
impl Eq for TextureUse
Source§impl PartialEq for TextureUse
impl PartialEq for TextureUse
impl StructuralPartialEq for TextureUse
Auto Trait Implementations§
impl Freeze for TextureUse
impl RefUnwindSafe for TextureUse
impl Send for TextureUse
impl Sync for TextureUse
impl Unpin for TextureUse
impl UnsafeUnpin for TextureUse
impl UnwindSafe for TextureUse
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.