v3dv: expose VK_KHR_maintenance5

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29669>
This commit is contained in:
Iago Toral Quiroga 2024-06-11 09:35:52 +02:00 committed by Marge Bot
parent 212062f2aa
commit a589901328
3 changed files with 14 additions and 1 deletions

View File

@ -524,7 +524,7 @@ Khronos extensions that are not part of any Vulkan version:
VK_KHR_index_type_uint8 DONE (anv, nvk, pvr, radv, tu, v3dv)
VK_KHR_line_rasterization DONE (anv, nvk, radv, tu, v3dv)
VK_KHR_load_store_op_none DONE (anv, nvk, radv, tu, v3dv)
VK_KHR_maintenance5 DONE (anv, lvp, nvk, radv, tu, vn)
VK_KHR_maintenance5 DONE (anv, lvp, nvk, radv, tu, v3dv, vn)
VK_KHR_maintenance6 DONE (anv, lvp, nvk, radv, tu)
VK_KHR_performance_query DONE (anv, radv/gfx10.3+, tu, v3dv)
VK_KHR_pipeline_executable_properties DONE (anv, nvk, panvk, hasvk, radv, tu, v3dv)

View File

@ -2,3 +2,4 @@ VK_KHR_dynamic_rendering_local_read on RADV
VK_EXT_legacy_vertex_attributes on lavapipe, ANV, Turnip and RADV
VK_MESA_image_alignment_control on RADV
VK_EXT_shader_replicated_composites on ANV, dozen, hasvk, lavapipe, nvk, RADV, and Turnip
VK_KHR_maintenance5 on v3dv

View File

@ -170,6 +170,7 @@ get_device_extensions(const struct v3dv_physical_device *device,
.KHR_maintenance2 = true,
.KHR_maintenance3 = true,
.KHR_maintenance4 = true,
.KHR_maintenance5 = true,
.KHR_multiview = true,
.KHR_pipeline_executable_properties = true,
.KHR_separate_depth_stencil_layouts = true,
@ -497,6 +498,9 @@ get_features(const struct v3dv_physical_device *physical_device,
/* VK_KHR_dynamic_rendering */
.dynamicRendering = true,
/* VK_KHR_maintenance5 */
.maintenance5 = true,
#ifdef V3DV_USE_WSI_PLATFORM
/* VK_EXT_swapchain_maintenance1 */
.swapchainMaintenance1 = true,
@ -1215,6 +1219,14 @@ get_device_properties(const struct v3dv_physical_device *device,
.requiredSubgroupSizeStages = VK_SHADER_STAGE_COMPUTE_BIT,
.subgroupSupportedOperations = subgroup_ops,
/* VK_KHR_maintenance5 */
.earlyFragmentMultisampleCoverageAfterSampleCounting = true,
.earlyFragmentSampleMaskTestBeforeSampleCounting = true,
.depthStencilSwizzleOneSupport = true,
.polygonModePointSize = true,
.nonStrictSinglePixelWideLinesUseParallelogram = true,
.nonStrictWideLinesUseParallelogram = true,
};
/* VkPhysicalDeviceShaderModuleIdentifierPropertiesEXT */