diff --git a/docs/features.txt b/docs/features.txt index 351e799972a..453857a6058 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -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_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_legacy_vertex_attributes DONE (anv, lvp) + VK_EXT_legacy_vertex_attributes DONE (anv, lvp, radv) 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_memory_budget DONE (anv, hasvk, lvp, nvk, pvr, radv, tu, v3dv, vn) diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index a95420591de..b26605974e8 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -1,2 +1,2 @@ VK_KHR_dynamic_rendering_local_read on RADV -VK_EXT_legacy_vertex_attributes on lavapipe +VK_EXT_legacy_vertex_attributes on lavapipe and RADV diff --git a/src/amd/vulkan/radv_physical_device.c b/src/amd/vulkan/radv_physical_device.c index 2e6567759fc..3bf152031f5 100644 --- a/src/amd/vulkan/radv_physical_device.c +++ b/src/amd/vulkan/radv_physical_device.c @@ -626,6 +626,7 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device .EXT_image_view_min_lod = true, .EXT_index_type_uint8 = pdev->info.gfx_level >= GFX8, .EXT_inline_uniform_block = true, + .EXT_legacy_vertex_attributes = !pdev->use_llvm && !instance->drirc.enable_dgc, .EXT_line_rasterization = true, .EXT_load_store_op_none = true, .EXT_map_memory_placed = true, @@ -1215,6 +1216,9 @@ radv_physical_device_get_features(const struct radv_physical_device *pdev, struc /* VK_KHR_dynamic_rendering_local_read */ .dynamicRenderingLocalRead = true, + + /* VK_EXT_legacy_vertex_attributes */ + .legacyVertexAttributes = true, }; } @@ -1911,6 +1915,9 @@ radv_get_physical_device_properties(struct radv_physical_device *pdev) /* VK_EXT_nested_command_buffer */ p->maxCommandBufferNestingLevel = UINT32_MAX; + + /* VK_EXT_legacy_vertex_attributes */ + p->nativeUnalignedPerformance = false; } static VkResult