Struct ash::vk::ShaderStatisticsInfoAMDBuilder
source · #[repr(transparent)]pub struct ShaderStatisticsInfoAMDBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ShaderStatisticsInfoAMDBuilder<'a>
impl<'a> ShaderStatisticsInfoAMDBuilder<'a>
pub fn shader_stage_mask(self, shader_stage_mask: ShaderStageFlags) -> Self
pub fn resource_usage(self, resource_usage: ShaderResourceUsageAMD) -> Self
pub fn num_physical_vgprs(self, num_physical_vgprs: u32) -> Self
pub fn num_physical_sgprs(self, num_physical_sgprs: u32) -> Self
pub fn num_available_vgprs(self, num_available_vgprs: u32) -> Self
pub fn num_available_sgprs(self, num_available_sgprs: u32) -> Self
pub fn compute_work_group_size(self, compute_work_group_size: [u32; 3]) -> Self
sourcepub fn build(self) -> ShaderStatisticsInfoAMD
pub fn build(self) -> ShaderStatisticsInfoAMD
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.