r600: enable ARB_compute_variable_group_size

This change was tested and passes the piglit tests (20/20)
on cypress, palm and cayman.

Signed-off-by: Patrick Lerda <patrick9876@free.fr>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34404>
This commit is contained in:
Patrick Lerda
2025-04-04 14:45:00 +02:00
committed by Marge Bot
parent 58ddf6aaf0
commit bd88a92dde
3 changed files with 4 additions and 2 deletions

View File

@@ -297,7 +297,7 @@ Khronos, ARB, and OES extensions that are not part of any OpenGL or OpenGL ES ve
GL_ARB_bindless_texture DONE (nvc0, radeonsi, zink)
GL_ARB_cl_event not started
GL_ARB_compute_variable_group_size DONE (freedreno/a4xx+, nvc0, radeonsi, zink, iris, crocus/gen7+, asahi)
GL_ARB_compute_variable_group_size DONE (freedreno/a4xx+, nvc0, radeonsi, zink, iris, crocus/gen7+, asahi, r600)
GL_ARB_ES3_2_compatibility DONE (freedreno/a6xx, radeonsi, virgl, zink, iris, crocus/gen7.5+, asahi)
GL_ARB_fragment_shader_interlock DONE (zink, iris/gen9+)
GL_ARB_gpu_shader_int64 DONE (freedreno/a6xx, nvc0, radeonsi, softpipe, llvmpipe, zink, d3d12, iris, crocus/gen8, asahi)

View File

@@ -336,6 +336,8 @@ static void r600_init_compute_caps(struct r600_screen *screen)
caps->max_clock_frequency = rscreen->info.max_gpu_freq_mhz;
caps->max_compute_units = rscreen->info.num_cu;
caps->subgroup_sizes = r600_wavefront_size(rscreen->family);
caps->max_variable_threads_per_block = R600_MAX_VARIABLE_THREADS_PER_BLOCK;
}
static void r600_init_screen_caps(struct r600_screen *rscreen)

View File

@@ -85,7 +85,7 @@ struct u_log_context;
#define R600_MAP_BUFFER_ALIGNMENT 64
#define R600_MAX_VIEWPORTS 16
#define SI_MAX_VARIABLE_THREADS_PER_BLOCK 1024
#define R600_MAX_VARIABLE_THREADS_PER_BLOCK 1024
enum r600_coherency {
R600_COHERENCY_NONE, /* no cache flushes needed */