From 3b27269be4df8343a78c605d260e4f8911aa204e Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Mon, 7 Jul 2025 23:29:36 +0200 Subject: [PATCH] mesa/st: Re-instate test for shader_clock cap With the check for the cap gone no driver will expose ARB_shader_clock. Unfortunately the CI doesn't catch this because it doesn't provide expectations whether a test should pass or be skipped. In this case spec@arb_shader_clock@execution@clock spec@arb_shader_clock@execution@clock2x32 went from pass to skip. (Tested on r600, but on radeonsi one can also see that the extension ARB_shader_clock is no longer available). Adding the test for the cap back in fixes this. Fixes: 2ce201707e2a00 (Add support for EXT_shader_clock) Signed-off-by: Gert Wollny Part-of: --- src/mesa/state_tracker/st_extensions.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 2a8ffdd9a38..bbd389a8cdb 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -1053,6 +1053,7 @@ void st_init_extensions(struct pipe_screen *screen, EXT_CAP(ARB_sample_locations, programmable_sample_locations); EXT_CAP(ARB_seamless_cube_map, seamless_cube_map); EXT_CAP(ARB_shader_ballot, shader_ballot); + EXT_CAP(ARB_shader_clock, shader_clock); EXT_CAP(ARB_shader_draw_parameters, draw_parameters); EXT_CAP(ARB_shader_group_vote, shader_group_vote); EXT_CAP(EXT_shader_image_load_formatted, image_load_formatted);