#[repr(C)]pub struct PhysicalDeviceSubgroupSizeControlProperties<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub min_subgroup_size: u32,
pub max_subgroup_size: u32,
pub max_compute_workgroup_subgroups: u32,
pub required_subgroup_size_stages: ShaderStageFlags,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§min_subgroup_size: u32
§max_subgroup_size: u32
§max_compute_workgroup_subgroups: u32
§required_subgroup_size_stages: ShaderStageFlags
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceSubgroupSizeControlProperties<'a>
impl<'a> PhysicalDeviceSubgroupSizeControlProperties<'a>
pub fn min_subgroup_size(self, min_subgroup_size: u32) -> Self
pub fn max_subgroup_size(self, max_subgroup_size: u32) -> Self
pub fn max_compute_workgroup_subgroups( self, max_compute_workgroup_subgroups: u32, ) -> Self
pub fn required_subgroup_size_stages( self, required_subgroup_size_stages: ShaderStageFlags, ) -> Self
Trait Implementations§
source§impl<'a> Clone for PhysicalDeviceSubgroupSizeControlProperties<'a>
impl<'a> Clone for PhysicalDeviceSubgroupSizeControlProperties<'a>
source§fn clone(&self) -> PhysicalDeviceSubgroupSizeControlProperties<'a>
fn clone(&self) -> PhysicalDeviceSubgroupSizeControlProperties<'a>
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<'a> Debug for PhysicalDeviceSubgroupSizeControlProperties<'a>
impl<'a> Debug for PhysicalDeviceSubgroupSizeControlProperties<'a>
source§impl<'a> TaggedStructure for PhysicalDeviceSubgroupSizeControlProperties<'a>
impl<'a> TaggedStructure for PhysicalDeviceSubgroupSizeControlProperties<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES
impl<'a> Copy for PhysicalDeviceSubgroupSizeControlProperties<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceSubgroupSizeControlProperties<'_>
impl Send for PhysicalDeviceSubgroupSizeControlProperties<'_>
impl Sync for PhysicalDeviceSubgroupSizeControlProperties<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceSubgroupSizeControlProperties<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceSubgroupSizeControlProperties<'a>
impl<'a> Unpin for PhysicalDeviceSubgroupSizeControlProperties<'a>
impl<'a> UnwindSafe for PhysicalDeviceSubgroupSizeControlProperties<'a>
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