tu: Advertise VK_KHR_vertex_attribute_divisor
This is a promotion from the EXT, except the new property supportsNonZeroFirstInstance which should already be supported. Signed-off-by: Valentine Burley <valentine.burley@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28095>
This commit is contained in:

committed by
Marge Bot

parent
355dd782c5
commit
1726e03df4
@@ -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, nvk, radv, v3dv)
|
||||
VK_KHR_vertex_attribute_divisor DONE (anv, nvk, radv, tu, 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
|
||||
|
@@ -215,6 +215,7 @@ get_device_extensions(const struct tu_physical_device *device,
|
||||
.KHR_timeline_semaphore = true,
|
||||
.KHR_uniform_buffer_standard_layout = true,
|
||||
.KHR_variable_pointers = true,
|
||||
.KHR_vertex_attribute_divisor = true,
|
||||
.KHR_vulkan_memory_model = true,
|
||||
.KHR_zero_initialize_workgroup_memory = true,
|
||||
|
||||
@@ -437,7 +438,7 @@ tu_get_features(struct tu_physical_device *pdevice,
|
||||
/* VK_KHR_index_type_uint8 */
|
||||
features->indexTypeUint8 = true;
|
||||
|
||||
/* VK_EXT_vertex_attribute_divisor */
|
||||
/* VK_KHR_vertex_attribute_divisor */
|
||||
features->vertexAttributeInstanceRateDivisor = true;
|
||||
features->vertexAttributeInstanceRateZeroDivisor = true;
|
||||
|
||||
@@ -962,6 +963,7 @@ tu_get_properties(struct tu_physical_device *pdevice,
|
||||
|
||||
/* VK_KHR_vertex_attribute_divisor */
|
||||
props->maxVertexAttribDivisor = UINT32_MAX;
|
||||
props->supportsNonZeroFirstInstance = true;
|
||||
|
||||
/* VK_EXT_custom_border_color */
|
||||
props->maxCustomBorderColorSamplers = TU_BORDER_COLOR_COUNT;
|
||||
|
Reference in New Issue
Block a user