radv: advertise VK_KHR_index_type_uint8

Promoted from the EXT.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27262>
This commit is contained in:
Samuel Pitoiset
2024-01-22 10:09:51 +01:00
committed by Marge Bot
parent 30f2802e31
commit c53d0a6a6d
3 changed files with 4 additions and 1 deletions

View File

@@ -520,6 +520,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 (radv, tu)
VK_KHR_incremental_present DONE (anv, hasvk, lvp, radv, tu, v3dv, vn)
VK_KHR_index_type_uint8 DONE (radv)
VK_KHR_line_rasterization DONE (radv)
VK_KHR_load_store_op_none DONE (radv)
VK_KHR_maintenance5 DONE (anv, lvp, radv, tu)

View File

@@ -1,3 +1,4 @@
VK_KHR_shader_subgroup_rotate on RADV
VK_KHR_load_store_op_none on RADV
VK_KHR_line_rasterization on RADV
VK_KHR_index_type_uint8 on RADV

View File

@@ -465,6 +465,7 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device
#ifdef RADV_USE_WSI_PLATFORM
.KHR_incremental_present = true,
#endif
.KHR_index_type_uint8 = device->rad_info.gfx_level >= GFX8,
.KHR_line_rasterization = true,
.KHR_load_store_op_none = true,
.KHR_maintenance1 = true,
@@ -823,7 +824,7 @@ radv_physical_device_get_features(const struct radv_physical_device *pdevice, st
/* VK_EXT_ycbcr_image_arrays */
.ycbcrImageArrays = true,
/* VK_EXT_index_type_uint8 */
/* VK_KHR_index_type_uint8 */
.indexTypeUint8 = pdevice->rad_info.gfx_level >= GFX8,
/* VK_KHR_pipeline_executable_properties */