#[repr(C)]pub struct PhysicalDeviceFloatControlsProperties {Show 19 fields
pub s_type: StructureType,
pub p_next: *mut c_void,
pub denorm_behavior_independence: ShaderFloatControlsIndependence,
pub rounding_mode_independence: ShaderFloatControlsIndependence,
pub shader_signed_zero_inf_nan_preserve_float16: u32,
pub shader_signed_zero_inf_nan_preserve_float32: u32,
pub shader_signed_zero_inf_nan_preserve_float64: u32,
pub shader_denorm_preserve_float16: u32,
pub shader_denorm_preserve_float32: u32,
pub shader_denorm_preserve_float64: u32,
pub shader_denorm_flush_to_zero_float16: u32,
pub shader_denorm_flush_to_zero_float32: u32,
pub shader_denorm_flush_to_zero_float64: u32,
pub shader_rounding_mode_rte_float16: u32,
pub shader_rounding_mode_rte_float32: u32,
pub shader_rounding_mode_rte_float64: u32,
pub shader_rounding_mode_rtz_float16: u32,
pub shader_rounding_mode_rtz_float32: u32,
pub shader_rounding_mode_rtz_float64: u32,
}Expand description
VkPhysicalDeviceFloatControlsProperties
Provided by VK_COMPUTE_VERSION_1_2.
Returned only*, filled by Vulkan, not constructed by the application.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES.
p_next: *mut c_voidOptional, may be null.
denorm_behavior_independence: ShaderFloatControlsIndependence§rounding_mode_independence: ShaderFloatControlsIndependence§shader_signed_zero_inf_nan_preserve_float16: u32§shader_signed_zero_inf_nan_preserve_float32: u32§shader_signed_zero_inf_nan_preserve_float64: u32§shader_denorm_preserve_float16: u32§shader_denorm_preserve_float32: u32§shader_denorm_preserve_float64: u32§shader_denorm_flush_to_zero_float16: u32§shader_denorm_flush_to_zero_float32: u32§shader_denorm_flush_to_zero_float64: u32§shader_rounding_mode_rte_float16: u32§shader_rounding_mode_rte_float32: u32§shader_rounding_mode_rte_float64: u32§shader_rounding_mode_rtz_float16: u32§shader_rounding_mode_rtz_float32: u32§shader_rounding_mode_rtz_float64: u32Implementations§
Source§impl PhysicalDeviceFloatControlsProperties
impl PhysicalDeviceFloatControlsProperties
Sourcepub fn builder<'a>() -> PhysicalDeviceFloatControlsPropertiesBuilder<'a>
pub fn builder<'a>() -> PhysicalDeviceFloatControlsPropertiesBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PhysicalDeviceFloatControlsProperties
impl Clone for PhysicalDeviceFloatControlsProperties
Source§fn clone(&self) -> PhysicalDeviceFloatControlsProperties
fn clone(&self) -> PhysicalDeviceFloatControlsProperties
Returns a duplicate 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 PhysicalDeviceFloatControlsProperties
impl Default for PhysicalDeviceFloatControlsProperties
Source§fn default() -> PhysicalDeviceFloatControlsProperties
fn default() -> PhysicalDeviceFloatControlsProperties
Returns the “default value” for a type. Read more
impl Copy for PhysicalDeviceFloatControlsProperties
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceFloatControlsProperties
Auto Trait Implementations§
impl Freeze for PhysicalDeviceFloatControlsProperties
impl RefUnwindSafe for PhysicalDeviceFloatControlsProperties
impl !Send for PhysicalDeviceFloatControlsProperties
impl !Sync for PhysicalDeviceFloatControlsProperties
impl Unpin for PhysicalDeviceFloatControlsProperties
impl UnsafeUnpin for PhysicalDeviceFloatControlsProperties
impl UnwindSafe for PhysicalDeviceFloatControlsProperties
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