mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 20:00:10 +01:00
panvk: require gpu_can_query_timestamp for calibrated timestamps
Advertise the extensions without VK_TIME_DOMAIN_DEVICE_KHR support is not very useful. Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org> Acked-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37421>
This commit is contained in:
parent
25d26a89e3
commit
e9444b28fd
1 changed files with 2 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ panvk_per_arch(get_physical_device_extensions)(
|
|||
.KHR_shader_atomic_int64 = PAN_ARCH >= 9,
|
||||
.KHR_bind_memory2 = true,
|
||||
.KHR_buffer_device_address = true,
|
||||
.KHR_calibrated_timestamps = true,
|
||||
.KHR_calibrated_timestamps = device->kmod.props.gpu_can_query_timestamp,
|
||||
.KHR_copy_commands2 = true,
|
||||
.KHR_create_renderpass2 = true,
|
||||
.KHR_dedicated_allocation = true,
|
||||
|
|
@ -126,7 +126,7 @@ panvk_per_arch(get_physical_device_extensions)(
|
|||
.EXT_4444_formats = true,
|
||||
.EXT_border_color_swizzle = true,
|
||||
.EXT_buffer_device_address = true,
|
||||
.EXT_calibrated_timestamps = true,
|
||||
.EXT_calibrated_timestamps = device->kmod.props.gpu_can_query_timestamp,
|
||||
.EXT_custom_border_color = true,
|
||||
.EXT_depth_bias_control = true,
|
||||
.EXT_depth_clamp_zero_one = true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue