pub struct Execution {
pub outputs: Vec<[u32; 4]>,
pub output_masks: Vec<u8>,
pub instructions: usize,
pub samples: usize,
pub discarded: bool,
}Expand description
What one evaluation wrote.
Fields§
§outputs: Vec<[u32; 4]>One entry per output register.
output_masks: Vec<u8>Only lanes marked in this mask were written by the shader.
instructions: usizeInstructions this evaluation executed.
samples: usizeSamples this evaluation requested.
discarded: boolWhether the program discarded the pixel (discard): its outputs are then those written before.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Execution
impl RefUnwindSafe for Execution
impl Send for Execution
impl Sync for Execution
impl Unpin for Execution
impl UnsafeUnpin for Execution
impl UnwindSafe for Execution
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