pub struct PhysicalDeviceVulkan13Features<'a> {Show 15 fields
pub robust_image_access: Bool32,
pub inline_uniform_block: Bool32,
pub descriptor_binding_inline_uniform_block_update_after_bind: Bool32,
pub pipeline_creation_cache_control: Bool32,
pub private_data: Bool32,
pub shader_demote_to_helper_invocation: Bool32,
pub shader_terminate_invocation: Bool32,
pub subgroup_size_control: Bool32,
pub compute_full_subgroups: Bool32,
pub synchronization2: Bool32,
pub texture_compression_astc_hdr: Bool32,
pub shader_zero_initialize_workgroup_memory: Bool32,
pub dynamic_rendering: Bool32,
pub shader_integer_dot_product: Bool32,
pub maintenance4: Bool32,
/* private fields */
}Expand description
Fields§
§robust_image_access: Bool32§inline_uniform_block: Bool32§descriptor_binding_inline_uniform_block_update_after_bind: Bool32§pipeline_creation_cache_control: Bool32§private_data: Bool32§shader_demote_to_helper_invocation: Bool32§shader_terminate_invocation: Bool32§subgroup_size_control: Bool32§compute_full_subgroups: Bool32§synchronization2: Bool32§texture_compression_astc_hdr: Bool32§shader_zero_initialize_workgroup_memory: Bool32§dynamic_rendering: Bool32§shader_integer_dot_product: Bool32§maintenance4: Bool32Implementations§
Source§impl<'a> PhysicalDeviceVulkan13Features<'a>
impl<'a> PhysicalDeviceVulkan13Features<'a>
pub fn robust_image_access(self, value: impl Into<Bool32>) -> Self
pub fn inline_uniform_block(self, value: impl Into<Bool32>) -> Self
pub fn descriptor_binding_inline_uniform_block_update_after_bind( self, value: impl Into<Bool32>, ) -> Self
pub fn pipeline_creation_cache_control(self, value: impl Into<Bool32>) -> Self
pub fn private_data(self, value: impl Into<Bool32>) -> Self
pub fn shader_demote_to_helper_invocation( self, value: impl Into<Bool32>, ) -> Self
pub fn shader_terminate_invocation(self, value: impl Into<Bool32>) -> Self
pub fn subgroup_size_control(self, value: impl Into<Bool32>) -> Self
pub fn compute_full_subgroups(self, value: impl Into<Bool32>) -> Self
pub fn synchronization2(self, value: impl Into<Bool32>) -> Self
pub fn texture_compression_astc_hdr(self, value: impl Into<Bool32>) -> Self
pub fn shader_zero_initialize_workgroup_memory( self, value: impl Into<Bool32>, ) -> Self
pub fn dynamic_rendering(self, value: impl Into<Bool32>) -> Self
pub fn shader_integer_dot_product(self, value: impl Into<Bool32>) -> Self
pub fn maintenance4(self, value: impl Into<Bool32>) -> Self
pub fn push_next<T: ExtendingStructure<Self>>(self, ext: &'a mut T) -> Self
Trait Implementations§
Source§impl<'a> Default for PhysicalDeviceVulkan13Features<'a>
Available on crate feature version_1_3 only.
impl<'a> Default for PhysicalDeviceVulkan13Features<'a>
Available on crate feature
version_1_3 only.Source§impl<'a> ExtendableStructure for PhysicalDeviceVulkan13Features<'a>
Available on crate feature version_1_3 only.
impl<'a> ExtendableStructure for PhysicalDeviceVulkan13Features<'a>
Available on crate feature
version_1_3 only.const STRUCTURE_TYPE: StructureType = StructureType::PhysicalDeviceVulkan13Features
Source§unsafe fn retrieve_next(&self) -> &Cell<*const Header>
unsafe fn retrieve_next(&self) -> &Cell<*const Header>
SAFETY: Same as ExtendableStructureBase::header
Source§unsafe fn push_next_unchecked<T: ExtendableStructure>(&self, ext: &T)
unsafe fn push_next_unchecked<T: ExtendableStructure>(&self, ext: &T)
Assuming the current structure chain is the following:
Self -> Ext1 -> Ext2 -> Ext3
calling this function with Ext4 will result in:
Self -> Ext4 -> Ext1 -> Ext2 -> Ext3
This function will never cause cycles in the structure chain
This function is unsafe because it discards the lifetime (ExtendableStructure does not have a lifetime parameter)
Also it does not check that T is a valid extension to be added to Self and only requires references (and not mutable references)
Source§fn new_uninit() -> MaybeUninit<Self>
fn new_uninit() -> MaybeUninit<Self>
Return a unitialized structure except the structure type being correctly set
and the p_next pointer being set to null
Source§impl<'a> ExtendableStructureBase for PhysicalDeviceVulkan13Features<'a>
Available on crate feature version_1_3 only.
impl<'a> ExtendableStructureBase for PhysicalDeviceVulkan13Features<'a>
Available on crate feature
version_1_3 only.impl<'a, 'b> ExtendingStructure<DeviceCreateInfo<'b>> for PhysicalDeviceVulkan13Features<'a>
Available on crate feature
version_1_3 only.impl<'a, 'b> ExtendingStructure<PhysicalDeviceFeatures2<'b>> for PhysicalDeviceVulkan13Features<'a>
Available on crate feature
version_1_3 and (crate features ext_get_physical_device_properties2 or version_1_1) only.impl<'a> Send for PhysicalDeviceVulkan13Features<'a>
Available on crate feature
version_1_3 only.impl<'a> Sync for PhysicalDeviceVulkan13Features<'a>
Available on crate feature
version_1_3 only.Auto Trait Implementations§
impl<'a> !Freeze for PhysicalDeviceVulkan13Features<'a>
impl<'a> !RefUnwindSafe for PhysicalDeviceVulkan13Features<'a>
impl<'a> Unpin for PhysicalDeviceVulkan13Features<'a>
impl<'a> !UnwindSafe for PhysicalDeviceVulkan13Features<'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
Source§impl<H> StructureChainOut<H> for Hwhere
H: ExtendableStructure,
impl<H> StructureChainOut<H> for Hwhere
H: ExtendableStructure,
Source§fn setup_uninit(chain: &mut MaybeUninit<H>)
fn setup_uninit(chain: &mut MaybeUninit<H>)
Setup an uninitialized structure chain
After this call, for the structure chain to be initialized, each structure field (with the exception of the structure type
and the p_next pointer) must be initialized (usually by calling the appropriate vulkan command)
The structure type and p_next pointer of each struct are set so that a vulkan commands sees a pointer to the head
as a valid chain containing all structures
Calling setup_uninit should be enough to then call a vulkan command filling this structure chain, moreover after
the call to this vulkan command, the whole structure chain should be considered initialized
Source§fn get_uninit_head_ptr(chain: *mut H) -> *mut H
fn get_uninit_head_ptr(chain: *mut H) -> *mut H
Return a mutable pointer to the head structure, which can then be passed to vulkan commands
Source§fn setup_cleanup(_: *mut H)
fn setup_cleanup(_: *mut H)
Function to call after a vulkan function initialized this structure to make sure there is no dangling pointer
or anything which could cause undefined behavior