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: 2ce201707e (Add support for EXT_shader_clock)
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35992>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user