mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 20:20:18 +01:00
panvk: disable VK_EXT_image_drm_format_modifier for arch < 10
VK_KHR_sampler_ycbcr_conversion is a dependency from the VK_EXT_image_drm_format_modifier spec. panvk arch < 10 still doesn't support it, so VK_EXT_image_drm_format_modifier should not be exposed. Otherwise, a Vulkan validation error is triggered for users of VK_EXT_image_drm_format_modifier and it may cause applications to fail to create a device. Signed-off-by: Erico Nunes <nunes.erico@gmail.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34458>
This commit is contained in:
parent
243c01c703
commit
23c0d64e24
1 changed files with 2 additions and 1 deletions
|
|
@ -285,7 +285,8 @@ get_device_extensions(const struct panvk_physical_device *device,
|
|||
.EXT_graphics_pipeline_library = true,
|
||||
.EXT_hdr_metadata = true,
|
||||
.EXT_host_query_reset = true,
|
||||
.EXT_image_drm_format_modifier = true,
|
||||
/* EXT_image_drm_format_modifier depends on KHR_sampler_ycbcr_conversion */
|
||||
.EXT_image_drm_format_modifier = arch >= 10,
|
||||
.EXT_image_robustness = true,
|
||||
.EXT_index_type_uint8 = true,
|
||||
.EXT_line_rasterization = true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue