From: Rob Clark Date: Thu, 9 Nov 2017 21:57:05 +0000 (-0500) Subject: freedreno/a5xx: add global size compute cap X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=471aa1b6d03e92d601439cfb2c79a78c12234fdb;p=mesa.git freedreno/a5xx: add global size compute cap Signed-off-by: Rob Clark --- diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index 6a44d7543d1..159f272c9d7 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -665,6 +665,11 @@ fd_get_compute_param(struct pipe_screen *pscreen, enum pipe_shader_ir ir_type, case PIPE_COMPUTE_CAP_MAX_GLOBAL_SIZE: case PIPE_COMPUTE_CAP_MAX_LOCAL_SIZE: + if (ret) { + uint64_t *local_size = ret; + *local_size = 32768; + } + return sizeof(uint64_t); case PIPE_COMPUTE_CAP_MAX_PRIVATE_SIZE: case PIPE_COMPUTE_CAP_MAX_INPUT_SIZE: break;