From 6fc0587b2de7c481fcd70f9bc256af8fffbb56f3 Mon Sep 17 00:00:00 2001 From: Markus Siglreithmaier Date: Tue, 9 Nov 2021 15:59:41 +0100 Subject: [PATCH] hal/vk: add physical device features for extensions (#2167) --- wgpu-hal/src/vulkan/adapter.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/wgpu-hal/src/vulkan/adapter.rs b/wgpu-hal/src/vulkan/adapter.rs index 87001b6542..e1580e0b15 100644 --- a/wgpu-hal/src/vulkan/adapter.rs +++ b/wgpu-hal/src/vulkan/adapter.rs @@ -44,6 +44,15 @@ impl PhysicalDeviceFeatures { if let Some(ref mut feature) = self.imageless_framebuffer { info = info.push_next(feature); } + if let Some(ref mut feature) = self.timeline_semaphore { + info = info.push_next(feature); + } + if let Some(ref mut feature) = self.image_robustness { + info = info.push_next(feature); + } + if let Some(ref mut feature) = self.robustness2 { + info = info.push_next(feature); + } info }