mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-29 17:44:09 +01:00
Obtain memory properties
This commit is contained in:
1 parent
edc8980a9a
commit
7d8577cb90
5 files changed
+31
-2
No files matched your search
@@ -61,5 +61,6 @@ fn adapter_create_device(
|
||||
let gpu = adapter.physical_device.open(&[(queue_family, &[1f32])]).unwrap();
|
||||
DeviceHandle::new(Device {
|
||||
gpu,
|
||||
memory_properties: adapter.physical_device.memory_properties(),
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user