From 6ffde9294e6136b256356c3d5d1845fc638bd3ec Mon Sep 17 00:00:00 2001 From: Mary Guillemard Date: Wed, 20 Nov 2024 11:46:52 +0100 Subject: [PATCH] panvk: Advertise VK_KHR_index_type_uint8 We already support VK_EXT_index_type_uint8 and this is the promoted version of it. Signed-off-by: Mary Guillemard Reviewed-by: Boris Brezillon Acked-by: Erik Faye-Lund Part-of: --- docs/features.txt | 2 +- src/panfrost/vulkan/panvk_physical_device.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/features.txt b/docs/features.txt index 9f88d1cf6c4..d360971a69b 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -528,7 +528,7 @@ Khronos extensions that are not part of any Vulkan version: VK_KHR_get_surface_capabilities2 DONE (anv, lvp, nvk, pvr, radv, tu, v3dv, vn) VK_KHR_global_priority DONE (anv, panvk, radv, tu) VK_KHR_incremental_present DONE (anv, hasvk, lvp, nvk, radv, tu, v3dv, vn) - VK_KHR_index_type_uint8 DONE (anv, nvk, pvr, radv, tu, v3dv) + VK_KHR_index_type_uint8 DONE (anv, nvk, panvk, pvr, radv, tu, v3dv) VK_KHR_line_rasterization DONE (anv, nvk, radv, tu, v3dv) VK_KHR_load_store_op_none DONE (anv, nvk, radv, tu, v3dv) VK_KHR_maintenance5 DONE (anv, lvp, nvk, radv, tu, v3dv, vn) diff --git a/src/panfrost/vulkan/panvk_physical_device.c b/src/panfrost/vulkan/panvk_physical_device.c index ba2b2b3dfaa..7cc3f794cc5 100644 --- a/src/panfrost/vulkan/panvk_physical_device.c +++ b/src/panfrost/vulkan/panvk_physical_device.c @@ -205,6 +205,7 @@ get_device_extensions(const struct panvk_physical_device *device, .KHR_get_memory_requirements2 = true, .KHR_global_priority = true, .KHR_image_format_list = true, + .KHR_index_type_uint8 = true, .KHR_maintenance1 = true, .KHR_maintenance2 = true, .KHR_maintenance3 = true, @@ -364,7 +365,7 @@ get_features(const struct panvk_physical_device *device, /* VK_KHR_global_priority */ .globalPriorityQuery = true, - /* VK_EXT_index_type_uint8 */ + /* VK_KHR_index_type_uint8 */ .indexTypeUint8 = true, /* VK_EXT_vertex_attribute_divisor */