pub struct StageSignature {
pub stage: u8,
pub uses_view_id: bool,
pub stage_data: u16,
pub element_counts: [u8; 3],
pub input_vectors: u8,
pub output_vectors: [u8; 4],
}Expand description
The runtime info’s bytes 24 to 35 (dxc’s PSVRuntimeInfo1): the stage and the counts of the signatures the part’s
tables hold.
Fields§
§stage: u8The shader kind (0 pixel, 1 vertex, 2 geometry, 3 hull, 4 domain, 5 compute, 13 mesh, …), as in the program header.
uses_view_id: boolThe program uses SV_ViewID.
stage_data: u16A geometry program’s largest output vertex count; in the low byte a hull or domain program’s patch-constant vector count.
element_counts: [u8; 3]The input, output and patch-constant element counts as stored (the lengths of Psv::inputs and the others).
input_vectors: u8How many input vectors (registers) the program reads.
output_vectors: [u8; 4]How many output vectors it writes, per stream.
Trait Implementations§
Source§impl Clone for StageSignature
impl Clone for StageSignature
impl Copy for StageSignature
Source§impl Debug for StageSignature
impl Debug for StageSignature
impl Eq for StageSignature
Source§impl PartialEq for StageSignature
impl PartialEq for StageSignature
impl StructuralPartialEq for StageSignature
Auto Trait Implementations§
impl Forget for StageSignature
impl Freeze for StageSignature
impl RefUnwindSafe for StageSignature
impl Send for StageSignature
impl Sync for StageSignature
impl Unpin for StageSignature
impl UnsafeUnpin for StageSignature
impl UnwindSafe for StageSignature
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