gallium: remove pipe_compute_caps::max_block_size_clover
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com> Reviewed-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34623>
This commit is contained in:
@@ -760,8 +760,6 @@ pipe_screen::get_compute_param.
|
||||
units.
|
||||
* ``pipe_compute_caps.max_block_size``: Maximum block size in thread
|
||||
units.
|
||||
* ``pipe_compute_caps.max_block_size_clover``: Same as ``pipe_compute_caps.max_block_size``
|
||||
but used by clover only.
|
||||
* ``pipe_compute_caps.max_threads_per_block``: Maximum number of threads that
|
||||
a single block can contain.
|
||||
This may be less than the product of the components of MAX_BLOCK_SIZE and is
|
||||
|
||||
@@ -307,10 +307,6 @@ static void r600_init_compute_caps(struct r600_screen *screen)
|
||||
caps->max_block_size[1] =
|
||||
caps->max_block_size[2] = rscreen->gfx_level >= EVERGREEN ? 1024 : 256;
|
||||
|
||||
caps->max_block_size_clover[0] =
|
||||
caps->max_block_size_clover[1] =
|
||||
caps->max_block_size_clover[2] = 256;
|
||||
|
||||
caps->max_threads_per_block = rscreen->gfx_level >= EVERGREEN ? 1024 : 256;
|
||||
caps->max_threads_per_block_clover = 256;
|
||||
caps->address_bits = 32;
|
||||
|
||||
@@ -795,7 +795,6 @@ struct pipe_compute_caps {
|
||||
unsigned grid_dimension;
|
||||
unsigned max_grid_size[3];
|
||||
unsigned max_block_size[3];
|
||||
unsigned max_block_size_clover[3];
|
||||
unsigned max_threads_per_block;
|
||||
unsigned max_threads_per_block_clover;
|
||||
unsigned max_local_size;
|
||||
|
||||
Reference in New Issue
Block a user