radv: advertise VK_KHR_line_rasterization

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:06:47 +01:00
committed by Marge Bot
parent df3fbe3b33
commit 0ceeb67b3b
3 changed files with 5 additions and 2 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_line_rasterization DONE (radv)
VK_KHR_load_store_op_none DONE (radv)
VK_KHR_maintenance5 DONE (anv, lvp, radv, tu)
VK_KHR_maintenance6 DONE (lvp)

View File

@@ -1,2 +1,3 @@
VK_KHR_shader_subgroup_rotate on RADV
VK_KHR_load_store_op_none on RADV
VK_KHR_line_rasterization 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_line_rasterization = true,
.KHR_load_store_op_none = true,
.KHR_maintenance1 = true,
.KHR_maintenance2 = true,
@@ -838,7 +839,7 @@ radv_physical_device_get_features(const struct radv_physical_device *pdevice, st
/* VK_AMD_device_coherent_memory */
.deviceCoherentMemory = pdevice->rad_info.has_l2_uncached,
/* VK_EXT_line_rasterization */
/* VK_KHR_line_rasterization */
.rectangularLines = true,
.bresenhamLines = true,
.smoothLines = true,
@@ -1597,7 +1598,7 @@ radv_get_physical_device_properties(struct radv_physical_device *pdevice)
p->sampleLocationSubPixelBits = 4;
p->variableSampleLocations = false;
/* VK_EXT_line_rasterization */
/* VK_KHR_line_rasterization */
p->lineSubPixelPrecisionBits = 4;
/* VK_EXT_robustness2 */