radv: advertise VK_EXT_legacy_vertex_attributes
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11094 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29071>
This commit is contained in:
@@ -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)
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user