mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
wgpu-hal: Expose vulkan::PhysicalDeviceFeatures (#7682)
This commit is contained in:
parent
6151330e3a
commit
a9e04f88af
@ -18,6 +18,7 @@ const INDEXING_FEATURES: wgt::Features = wgt::Features::TEXTURE_BINDING_ARRAY
|
||||
.union(wgt::Features::UNIFORM_BUFFER_BINDING_ARRAYS)
|
||||
.union(wgt::Features::PARTIALLY_BOUND_BINDING_ARRAY);
|
||||
|
||||
#[expect(rustdoc::private_intra_doc_links)]
|
||||
/// Features supported by a [`vk::PhysicalDevice`] and its extensions.
|
||||
///
|
||||
/// This is used in two phases:
|
||||
|
||||
@ -32,6 +32,8 @@ mod drm;
|
||||
mod instance;
|
||||
mod sampler;
|
||||
|
||||
pub use adapter::PhysicalDeviceFeatures;
|
||||
|
||||
use alloc::{boxed::Box, ffi::CString, sync::Arc, vec::Vec};
|
||||
use core::{borrow::Borrow, ffi::CStr, fmt, mem, num::NonZeroU32, ops::DerefMut};
|
||||
|
||||
@ -455,7 +457,7 @@ pub struct Adapter {
|
||||
//queue_families: Vec<vk::QueueFamilyProperties>,
|
||||
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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user