Skip to content

Commit

Permalink
add fields
Browse files Browse the repository at this point in the history
  • Loading branch information
0xcaff committed Apr 8, 2024
1 parent 9d51cdb commit a60ab3a
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions vulkano/src/device/physical.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3624,22 +3624,26 @@ impl From<ash::vk::ShaderCorePropertiesFlagsAMD> for ShaderCoreProperties {
}

#[derive(Clone, Copy, Debug)]
pub struct LayeredDriverUnderlyingApi {}
pub struct LayeredDriverUnderlyingApi {
pub value: ash::vk::LayeredDriverUnderlyingApiMSFT,
}

impl From<ash::vk::LayeredDriverUnderlyingApiMSFT> 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<ash::vk::PhysicalDeviceSchedulingControlsFlagsARM>
for PhysicalDeviceSchedulingControlsFlags
{
fn from(_value: ash::vk::PhysicalDeviceSchedulingControlsFlagsARM) -> Self {
Self {}
fn from(value: ash::vk::PhysicalDeviceSchedulingControlsFlagsARM) -> Self {
Self { value }
}
}

Expand Down

0 comments on commit a60ab3a

Please sign in to comment.