panfrost: Enable GL_EXT_shader_realtime_clock on panfrost v6+
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Signed-off-by: Ashley Smith <ashley.smith@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35496>
This commit is contained in:
Ashley Smith 2025-06-12 10:48:29 +01:00 committed by Marge Bot
parent 2cfd2d3b1d
commit 8160d0b80e
3 changed files with 4 additions and 1 deletions

View file

@ -333,7 +333,7 @@ Khronos, ARB, and OES extensions that are not part of any OpenGL or OpenGL ES ve
GL_EXT_semaphore_fd DONE (radeonsi, zink, iris, crocus)
GL_EXT_semaphore_win32 DONE (zink, d3d12)
GL_EXT_shader_group_vote DONE (all drivers that support GL_ARB_shader_group_vote)
GL_EXT_shader_realtime_clock DONE (core only)
GL_EXT_shader_realtime_clock DONE (panfrost/v6+)
GL_EXT_sRGB_write_control DONE (all drivers that support GLES 3.0+)
GL_EXT_texture_compression_astc_decode_mode DONE (panfrost)
GL_EXT_texture_norm16 DONE (freedreno, r600, radeonsi, nvc0i, softpipe, zink, iris, crocus)

View file

@ -54,3 +54,4 @@ VK_KHR_maintenance6 on panvk/v10+
CL_sRGBA and CL_sBGRA images
cl_khr_extended_bit_ops
VK_KHR_shader_clock on panvk
GL_EXT_shader_realtime_clock on panfrost/v6+

View file

@ -654,6 +654,8 @@ panfrost_init_screen_caps(struct panfrost_screen *screen)
/* Compile side is TODO for Midgard. */
caps->shader_clock = dev->arch >= 6 &&
dev->kmod.props.gpu_can_query_timestamp;
caps->shader_realtime_clock = dev->arch >= 6 &&
dev->kmod.props.gpu_can_query_timestamp;
caps->vs_instanceid = true;
caps->texture_multisample = true;