Skip to content

Commit

Permalink
hal/vk: add physical device features for extensions (gfx-rs#2167)
Browse files Browse the repository at this point in the history
  • Loading branch information
msiglreith authored Nov 9, 2021
1 parent 9a5dec2 commit 6fc0587
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions wgpu-hal/src/vulkan/adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 6fc0587

Please sign in to comment.