crosvm/rutabaga_gfx/src
Idan Raiter 3e19680831 rutabaga: Don't enable all features for Vulkano device
Some devices support so many features, that they collide. In Vulkano's
autogenerated out\features.rs, some are tagged as:

crate::device::FeatureRestriction::ConflictsFeature

Meaning both cannot be on at the same time. An example failure is
on Nvidia for:

shading_rate_image
attachment_fragment_shading_rate

My GPU supports both and thus cannot be created since we attempt to
enable all supported features.

This is VUID 04480
https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkDeviceCreateInfo-shadingRateImage-04480

This change just removes features from being requested. Instead we
should choose the specific features we want as they come up. Currently
for GPU mapping we don't need features.

BUG=b:244622199
TEST=downstream

Change-Id: Ic511d04cf2987bfc7189182a1dc002a367b5d9f7
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3936679
Commit-Queue: Idan Raiter <idanr@google.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2022-10-14 18:17:02 +00:00
..
cross_domain rutabaga: Introduce device id, remove physical index 2022-10-06 20:18:48 +00:00
generated Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
rutabaga_gralloc rutabaga: Don't enable all features for Vulkano device 2022-10-14 18:17:02 +00:00
gfxstream.rs rutabaga: Introduce device id, remove physical index 2022-10-06 20:18:48 +00:00
lib.rs gpu: add a serializer for context mask. 2022-09-22 16:34:19 +00:00
macros.rs Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
renderer_utils.rs Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
rutabaga_2d.rs Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
rutabaga_core.rs devices: add feature flags to render_server_fd. 2022-09-22 20:21:59 +00:00
rutabaga_utils.rs rutabaga: Introduce device id, remove physical index 2022-10-06 20:18:48 +00:00
virgl_renderer.rs rutabaga_gfx: make non-sandboxed opaque fd mapping explicit 2022-09-22 21:43:19 +00:00