#[repr(C)]pub struct ShaderStatisticsInfoAMD {
pub shader_stage_mask: ShaderStageFlags,
pub resource_usage: ShaderResourceUsageAMD,
pub num_physical_vgprs: u32,
pub num_physical_sgprs: u32,
pub num_available_vgprs: u32,
pub num_available_sgprs: u32,
pub compute_work_group_size: [u32; 3],
}Expand description
Native structure VkShaderStatisticsInfoAMD.
Fields§
§shader_stage_mask: ShaderStageFlagsNative field shaderStageMask.
resource_usage: ShaderResourceUsageAMDNative field resourceUsage.
num_physical_vgprs: u32Native field numPhysicalVgprs.
num_physical_sgprs: u32Native field numPhysicalSgprs.
num_available_vgprs: u32Native field numAvailableVgprs.
num_available_sgprs: u32Native field numAvailableSgprs.
compute_work_group_size: [u32; 3]Native field computeWorkGroupSize.
Implementations§
Source§impl ShaderStatisticsInfoAMD
impl ShaderStatisticsInfoAMD
Sourcepub fn set_shader_stage_mask(self, value: ShaderStageFlags) -> Self
pub fn set_shader_stage_mask(self, value: ShaderStageFlags) -> Self
Set native field shaderStageMask without native effects.
Sourcepub fn set_resource_usage(self, value: ShaderResourceUsageAMD) -> Self
pub fn set_resource_usage(self, value: ShaderResourceUsageAMD) -> Self
Set native field resourceUsage without native effects.
Sourcepub fn set_num_physical_vgprs(self, value: u32) -> Self
pub fn set_num_physical_vgprs(self, value: u32) -> Self
Set native field numPhysicalVgprs without native effects.
Sourcepub fn set_num_physical_sgprs(self, value: u32) -> Self
pub fn set_num_physical_sgprs(self, value: u32) -> Self
Set native field numPhysicalSgprs without native effects.
Sourcepub fn set_num_available_vgprs(self, value: u32) -> Self
pub fn set_num_available_vgprs(self, value: u32) -> Self
Set native field numAvailableVgprs without native effects.
Sourcepub fn set_num_available_sgprs(self, value: u32) -> Self
pub fn set_num_available_sgprs(self, value: u32) -> Self
Set native field numAvailableSgprs without native effects.
Sourcepub fn set_compute_work_group_size(self, value: [u32; 3]) -> Self
pub fn set_compute_work_group_size(self, value: [u32; 3]) -> Self
Set native field computeWorkGroupSize without native effects.
Trait Implementations§
Source§impl Clone for ShaderStatisticsInfoAMD
impl Clone for ShaderStatisticsInfoAMD
impl Copy for ShaderStatisticsInfoAMD
Auto Trait Implementations§
impl Forget for ShaderStatisticsInfoAMD
impl Freeze for ShaderStatisticsInfoAMD
impl Move for ShaderStatisticsInfoAMD
impl RefUnwindSafe for ShaderStatisticsInfoAMD
impl Send for ShaderStatisticsInfoAMD
impl Sync for ShaderStatisticsInfoAMD
impl Unpin for ShaderStatisticsInfoAMD
impl UnsafeUnpin for ShaderStatisticsInfoAMD
impl UnwindSafe for ShaderStatisticsInfoAMD
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