From a60ab3a5b57596490c006984542840578d1a2657 Mon Sep 17 00:00:00 2001 From: martin Date: Mon, 8 Apr 2024 14:51:24 -0500 Subject: [PATCH] add fields --- vulkano/src/device/physical.rs | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/vulkano/src/device/physical.rs b/vulkano/src/device/physical.rs index 1217c54361..841a766853 100644 --- a/vulkano/src/device/physical.rs +++ b/vulkano/src/device/physical.rs @@ -3624,22 +3624,26 @@ impl From for ShaderCoreProperties { } #[derive(Clone, Copy, Debug)] -pub struct LayeredDriverUnderlyingApi {} +pub struct LayeredDriverUnderlyingApi { + pub value: ash::vk::LayeredDriverUnderlyingApiMSFT, +} impl From for LayeredDriverUnderlyingApi { - fn from(_value: ash::vk::LayeredDriverUnderlyingApiMSFT) -> Self { - Self {} + fn from(value: ash::vk::LayeredDriverUnderlyingApiMSFT) -> Self { + Self { value } } } #[derive(Clone, Debug)] -pub struct PhysicalDeviceSchedulingControlsFlags {} +pub struct PhysicalDeviceSchedulingControlsFlags { + pub value: ash::vk::PhysicalDeviceSchedulingControlsFlagsARM, +} impl From for PhysicalDeviceSchedulingControlsFlags { - fn from(_value: ash::vk::PhysicalDeviceSchedulingControlsFlagsARM) -> Self { - Self {} + fn from(value: ash::vk::PhysicalDeviceSchedulingControlsFlagsARM) -> Self { + Self { value } } }