pub enum InstructionUnit {
DxbcInstructions,
DxilInstructions,
}Expand description
The source’s counting unit. DXBC counts decoded instructions including control flow, excluding declarations; DXIL counts LLVM instructions in the functions the lifter reads. Neither is an executed instruction count or an IR expression count.
Variants§
DxbcInstructions
Instructions of a DXBC shader (Shader Model 4 or 5) as decoded.
DxilInstructions
Instructions of a DXIL shader (Shader Model 6) in the functions the lifter reads.
Trait Implementations§
Source§impl Clone for InstructionUnit
impl Clone for InstructionUnit
impl Copy for InstructionUnit
Source§impl Debug for InstructionUnit
impl Debug for InstructionUnit
impl Eq for InstructionUnit
Source§impl PartialEq for InstructionUnit
impl PartialEq for InstructionUnit
Source§impl Serialize for InstructionUnit
impl Serialize for InstructionUnit
impl StructuralPartialEq for InstructionUnit
Auto Trait Implementations§
impl Freeze for InstructionUnit
impl RefUnwindSafe for InstructionUnit
impl Send for InstructionUnit
impl Sync for InstructionUnit
impl Unpin for InstructionUnit
impl UnsafeUnpin for InstructionUnit
impl UnwindSafe for InstructionUnit
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