panvk: Advertise support for VK_EXT_image_2d_view_of_3d

This is already supported, we just need to toggle the switch.

Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35065>
This commit is contained in:
Mary Guillemard
2025-05-20 11:52:37 +02:00
committed by Marge Bot
parent 43d84078e6
commit 8a3b89db95
3 changed files with 7 additions and 1 deletions
@@ -296,6 +296,7 @@ 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_2d_view_of_3d = true,
/* EXT_image_drm_format_modifier depends on KHR_sampler_ycbcr_conversion */
.EXT_image_drm_format_modifier = arch >= 10,
.EXT_image_robustness = true,
@@ -534,6 +535,10 @@ get_features(const struct panvk_physical_device *device,
.borderColorSwizzle = true,
.borderColorSwizzleFromImage = true,
/* VK_EXT_image_2d_view_of_3d */
.image2DViewOf3D = true,
.sampler2DViewOf3D = true,
/* VK_EXT_primitive_topology_list_restart */
.primitiveTopologyListRestart = true,
.primitiveTopologyPatchListRestart = false,