From 9092660ac6cc5c101e807c0545c6eab06fb87e80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hubert=20G=C5=82uchowski?= Date: Sat, 10 May 2025 16:13:52 +0200 Subject: [PATCH] wgpu-hal: Expose vulkan::PhysicalDeviceFeatures --- wgpu-hal/src/vulkan/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wgpu-hal/src/vulkan/mod.rs b/wgpu-hal/src/vulkan/mod.rs index b492f33987..7467af4c0b 100644 --- a/wgpu-hal/src/vulkan/mod.rs +++ b/wgpu-hal/src/vulkan/mod.rs @@ -455,12 +455,14 @@ pub struct Adapter { //queue_families: Vec, known_memory_flags: vk::MemoryPropertyFlags, phd_capabilities: adapter::PhysicalDeviceProperties, - phd_features: adapter::PhysicalDeviceFeatures, + phd_features: PhysicalDeviceFeatures, downlevel_flags: wgt::DownlevelFlags, private_caps: PrivateCapabilities, workarounds: Workarounds, } +pub use adapter::PhysicalDeviceFeatures; + // TODO there's no reason why this can't be unified--the function pointers should all be the same--it's not clear how to do this with `ash`. enum ExtensionFn { /// The loaded function pointer struct for an extension.