Force enable buffer device address
This commit is contained in:
parent
c8385997cd
commit
b36a6ec96c
1 changed files with 4 additions and 1 deletions
|
@ -156,10 +156,13 @@ impl Device {
|
||||||
|
|
||||||
pub fn new(
|
pub fn new(
|
||||||
physical_device: Arc<PhysicalDevice>,
|
physical_device: Arc<PhysicalDevice>,
|
||||||
extensions: DeviceExtensions,
|
mut extensions: DeviceExtensions,
|
||||||
queue_infos: &[VkDeviceQueueCreateInfo],
|
queue_infos: &[VkDeviceQueueCreateInfo],
|
||||||
requested_device_features: DeviceFeatures,
|
requested_device_features: DeviceFeatures,
|
||||||
) -> Result<Arc<Device>> {
|
) -> Result<Arc<Device>> {
|
||||||
|
// buffer device address is required in the current library implementation
|
||||||
|
extensions.buffer_device_address = true;
|
||||||
|
|
||||||
let device_extensions = physical_device.extensions();
|
let device_extensions = physical_device.extensions();
|
||||||
|
|
||||||
let mut checked_extensions = Vec::new();
|
let mut checked_extensions = Vec::new();
|
||||||
|
|
Loading…
Reference in a new issue