nvk: Advertise VK_KHR_vertex_attribute_divisor

This is a promotion from the EXT, except the new property
supportsNonZeroFirstInstance which is already supported.

Signed-off-by: Valentine Burley <valentine.burley@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28094>
This commit is contained in:
Valentine Burley
2024-03-10 08:48:43 +00:00
committed by Marge Bot
parent 133c73da85
commit 94622ae491
2 changed files with 5 additions and 3 deletions

View File

@@ -546,7 +546,7 @@ Khronos extensions that are not part of any Vulkan version:
VK_KHR_surface_protected_capabilities DONE (anv, lvp, nvk, radv, v3dv, vn)
VK_KHR_swapchain DONE (anv, dzn, hasvk, lvp, nvk, panvk, pvr, radv, tu, v3dv, vn)
VK_KHR_swapchain_mutable_format DONE (anv, hasvk, lvp, nvk, radv, tu, v3dv, vn)
VK_KHR_vertex_attribute_divisor DONE (anv, radv, v3dv)
VK_KHR_vertex_attribute_divisor DONE (anv, nvk, radv, v3dv)
VK_KHR_wayland_surface DONE (anv, dzn, lvp, nvk, panvk, radv, tu, v3dv, vn)
VK_KHR_workgroup_memory_explicit_layout DONE (anv, nvk, hasvk, radv, v3dv)
VK_KHR_win32_keyed_mutex not started

View File

@@ -160,6 +160,7 @@ nvk_get_device_extensions(const struct nvk_instance *instance,
.KHR_synchronization2 = true,
.KHR_uniform_buffer_standard_layout = true,
.KHR_variable_pointers = true,
.KHR_vertex_attribute_divisor = true,
.KHR_vulkan_memory_model = nvk_use_nak(info),
.KHR_workgroup_memory_explicit_layout = true,
.KHR_zero_initialize_workgroup_memory = true,
@@ -548,7 +549,7 @@ nvk_get_device_features(const struct nv_device_info *info,
.transformFeedback = true,
.geometryStreams = true,
/* VK_EXT_vertex_attribute_divisor */
/* VK_KHR_vertex_attribute_divisor */
.vertexAttributeInstanceRateDivisor = true,
.vertexAttributeInstanceRateZeroDivisor = true,
@@ -885,8 +886,9 @@ nvk_get_device_properties(const struct nvk_instance *instance,
.transformFeedbackRasterizationStreamSelect = true,
.transformFeedbackDraw = true,
/* VK_EXT_vertex_attribute_divisor */
/* VK_KHR_vertex_attribute_divisor */
.maxVertexAttribDivisor = UINT32_MAX,
.supportsNonZeroFirstInstance = true,
/* VK_KHR_fragment_shader_barycentric */
.triStripVertexOrderIndependentOfProvokingVertex = false,