crosvm/rutabaga_gfx
Idan Raiter 51f9faf3a4 rutabaga: Update Vulkano to 0.31.0
- We now have ::empty() for flags instead of ::none().

- PhysicalDeviceType was changed to vulkan_enum which is not Ord, so we
  have to change BTreeMap to HashMap.

- The abstract holders for MemoryType or QueueFamily are gone, so more
  index tracking is required. Some constructors take indices now.

- Physical devices are proper objects now, and are enumerated via the
  instance. To keep things simple, this CL only replaces with equivalent
  logic, but the next one should replace device indices entirely with
  device UUIDs.

- Device memory errors were condensed into a single DeviceMemoryError
  type. We also need to handle the VulkanError type from
  enumerate_physical_devices.

BUG=b:244622199
TEST=presubmit

Change-Id: I1bba7e652ca67ecc5d9c10ddba3e1da35185078b
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3913993
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Commit-Queue: Idan Raiter <idanr@google.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
2022-09-27 19:53:50 +00:00
..
ffi rutabaga: Fix typo rutabagE -> rutabagA 2022-09-27 18:44:09 +00:00
src rutabaga: Update Vulkano to 0.31.0 2022-09-27 19:53:50 +00:00
build.rs
Cargo.toml rutabaga: Update Vulkano to 0.31.0 2022-09-27 19:53:50 +00:00