lavapipe: VK_EXT_legacy_vertex_attributes

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29068>
This commit is contained in:
Mike Blumenkrantz
2024-04-30 13:58:40 -04:00
committed by Marge Bot
parent d93211bde0
commit 383c3a417f
3 changed files with 9 additions and 1 deletions

View File

@@ -594,7 +594,7 @@ Khronos extensions that are not part of any Vulkan version:
VK_EXT_image_sliced_view_of_3d DONE (anv, nvk, radv/gfx10+) VK_EXT_image_sliced_view_of_3d DONE (anv, nvk, radv/gfx10+)
VK_EXT_image_view_min_lod DONE (anv, hasvk, nvk, radv, tu, vn) VK_EXT_image_view_min_lod DONE (anv, hasvk, nvk, radv, tu, vn)
VK_EXT_index_type_uint8 DONE (anv, hasvk, nvk, lvp, panvk, pvr, radv/gfx8+, tu, v3dv, vn) VK_EXT_index_type_uint8 DONE (anv, hasvk, nvk, lvp, panvk, pvr, radv/gfx8+, tu, v3dv, vn)
VK_EXT_legacy_vertex_attributes DONE (anv) VK_EXT_legacy_vertex_attributes DONE (anv, lvp)
VK_EXT_line_rasterization DONE (anv, hasvk, nvk, lvp, radv, tu, v3dv, vn) VK_EXT_line_rasterization DONE (anv, hasvk, nvk, lvp, radv, tu, v3dv, vn)
VK_EXT_load_store_op_none DONE (anv, nvk, radv, tu, v3dv, vn) VK_EXT_load_store_op_none DONE (anv, nvk, radv, tu, v3dv, vn)
VK_EXT_memory_budget DONE (anv, hasvk, lvp, nvk, pvr, radv, tu, v3dv, vn) VK_EXT_memory_budget DONE (anv, hasvk, lvp, nvk, pvr, radv, tu, v3dv, vn)

View File

@@ -1 +1,2 @@
VK_KHR_dynamic_rendering_local_read on RADV VK_KHR_dynamic_rendering_local_read on RADV
VK_EXT_legacy_vertex_attributes on lavapipe

View File

@@ -197,6 +197,7 @@ static const struct vk_device_extension_table lvp_device_extensions_supported =
.EXT_index_type_uint8 = true, .EXT_index_type_uint8 = true,
.EXT_inline_uniform_block = true, .EXT_inline_uniform_block = true,
.EXT_load_store_op_none = true, .EXT_load_store_op_none = true,
.EXT_legacy_vertex_attributes = true,
.EXT_memory_budget = true, .EXT_memory_budget = true,
#if DETECT_OS_LINUX #if DETECT_OS_LINUX
.EXT_memory_priority = true, .EXT_memory_priority = true,
@@ -643,6 +644,9 @@ lvp_get_features(const struct lvp_physical_device *pdevice,
/* VK_EXT_memory_priority */ /* VK_EXT_memory_priority */
.memoryPriority = true, .memoryPriority = true,
/* VK_EXT_legacy_vertex_attributes */
.legacyVertexAttributes = true,
/* VK_EXT_pageable_device_local_memory */ /* VK_EXT_pageable_device_local_memory */
.pageableDeviceLocalMemory = true, .pageableDeviceLocalMemory = true,
@@ -1124,6 +1128,9 @@ lvp_get_properties(const struct lvp_physical_device *device, struct vk_propertie
.maxDescriptorSetUpdateAfterBindAccelerationStructures = MAX_DESCRIPTORS, .maxDescriptorSetUpdateAfterBindAccelerationStructures = MAX_DESCRIPTORS,
.minAccelerationStructureScratchOffsetAlignment = 128, .minAccelerationStructureScratchOffsetAlignment = 128,
/* VK_EXT_legacy_vertex_attributes */
.nativeUnalignedPerformance = true,
/* VK_KHR_ray_tracing_pipeline */ /* VK_KHR_ray_tracing_pipeline */
.shaderGroupHandleSize = LVP_RAY_TRACING_GROUP_HANDLE_SIZE, .shaderGroupHandleSize = LVP_RAY_TRACING_GROUP_HANDLE_SIZE,
.maxRayRecursionDepth = 31, /* Minimum allowed for DXR. */ .maxRayRecursionDepth = 31, /* Minimum allowed for DXR. */