anv: Enable VK_EXT_image_drm_format_modifier

Also enable the dependency VK_EXT_queue_family_foreign.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1466>
This commit is contained in:
Chad Versace 2021-03-22 22:27:21 -07:00 committed by Marge Bot
parent 13ee22c662
commit f4c6988184
1 changed files with 2 additions and 3 deletions

View File

@ -273,6 +273,7 @@ get_device_extensions(const struct anv_physical_device *device,
.EXT_global_priority = device->has_context_priority,
.EXT_host_query_reset = true,
.EXT_image_robustness = true,
.EXT_image_drm_format_modifier = true,
.EXT_index_type_uint8 = true,
.EXT_inline_uniform_block = true,
.EXT_line_rasterization = true,
@ -282,9 +283,7 @@ get_device_extensions(const struct anv_physical_device *device,
.EXT_pipeline_creation_feedback = true,
.EXT_post_depth_coverage = device->info.ver >= 9,
.EXT_private_data = true,
#ifdef ANDROID
.EXT_queue_family_foreign = ANDROID,
#endif
.EXT_queue_family_foreign = true,
.EXT_robustness2 = true,
.EXT_sample_locations = true,
.EXT_sampler_filter_minmax = device->info.ver >= 9,