diff options
author | Rob Clark <[email protected]> | 2017-11-09 16:57:05 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2017-11-12 12:28:59 -0500 |
commit | 471aa1b6d03e92d601439cfb2c79a78c12234fdb (patch) | |
tree | 12c10bd538d9c377249748ba65e47dc9362194ca /src/gallium/drivers | |
parent | 62981bbe656db1de5311ac5c23a69122748e681b (diff) |
freedreno/a5xx: add global size compute cap
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_screen.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; |