#[repr(C)]pub struct ShaderResourceUsageAMD {
pub num_used_vgprs: u32,
pub num_used_sgprs: u32,
pub lds_size_per_local_work_group: u32,
pub lds_usage_size_in_bytes: usize,
pub scratch_mem_usage_in_bytes: usize,
}
Expand description
Fields§
§num_used_vgprs: u32
§num_used_sgprs: u32
§lds_size_per_local_work_group: u32
§lds_usage_size_in_bytes: usize
§scratch_mem_usage_in_bytes: usize
Implementations§
Source§impl ShaderResourceUsageAMD
impl ShaderResourceUsageAMD
pub fn builder<'a>() -> ShaderResourceUsageAMDBuilder<'a>
Trait Implementations§
Source§impl Clone for ShaderResourceUsageAMD
impl Clone for ShaderResourceUsageAMD
Source§fn clone(&self) -> ShaderResourceUsageAMD
fn clone(&self) -> ShaderResourceUsageAMD
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for ShaderResourceUsageAMD
impl Default for ShaderResourceUsageAMD
Source§fn default() -> ShaderResourceUsageAMD
fn default() -> ShaderResourceUsageAMD
Returns the “default value” for a type. Read more
impl Copy for ShaderResourceUsageAMD
Auto Trait Implementations§
impl Freeze for ShaderResourceUsageAMD
impl RefUnwindSafe for ShaderResourceUsageAMD
impl Send for ShaderResourceUsageAMD
impl Sync for ShaderResourceUsageAMD
impl Unpin for ShaderResourceUsageAMD
impl UnwindSafe for ShaderResourceUsageAMD
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)