panvk: Enable EXT_present_timing.

Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38770>
This commit is contained in:
Hans-Kristian Arntzen 2026-01-09 20:43:49 +01:00 committed by Marge Bot
parent aa2f474f3c
commit cb22d413ba

View file

@ -164,6 +164,10 @@ panvk_per_arch(get_physical_device_extensions)(
.EXT_pipeline_creation_cache_control = true,
.EXT_pipeline_creation_feedback = true,
.EXT_pipeline_robustness = true,
#ifdef PANVK_USE_WSI_PLATFORM
.EXT_present_timing =
device->kmod.dev->props.gpu_can_query_timestamp,
#endif
.EXT_private_data = true,
.EXT_primitive_topology_list_restart = true,
.EXT_primitives_generated_query = PAN_ARCH >= 10,
@ -560,6 +564,13 @@ panvk_per_arch(get_physical_device_features)(
/* VK_EXT_multisampled_render_to_single_sampled */
.multisampledRenderToSingleSampled = true,
#ifdef PANVK_USE_WSI_PLATFORM
/* VK_EXT_present_timing */
.presentTiming = true,
.presentAtRelativeTime = true,
.presentAtAbsoluteTime = true,
#endif
};
}