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 } } }