mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
panfrost: Lower max compute size
Match the DDK's limit (Mali G52), I think there's undocumented errata here. Fixes KHR-GLES31.core.texture_buffer.texture_buffer_operations_image_store Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11123>
This commit is contained in:
parent
c9a0045705
commit
05755d858b
1 changed files with 5 additions and 2 deletions
|
|
@ -652,8 +652,11 @@ panfrost_get_compute_param(struct pipe_screen *pscreen, enum pipe_shader_ir ir_t
|
|||
case PIPE_COMPUTE_CAP_MAX_GRID_SIZE:
|
||||
RET(((uint64_t []) { 65535, 65535, 65535 }));
|
||||
|
||||
case PIPE_COMPUTE_CAP_MAX_BLOCK_SIZE:
|
||||
RET(((uint64_t []) { 1024, 1024, 64 }));
|
||||
case PIPE_COMPUTE_CAP_MAX_BLOCK_SIZE:
|
||||
/* Unpredictable behaviour at larger sizes. Mali-G52 advertises
|
||||
* 384x384x384. The smaller size is advertised by Mali-T628,
|
||||
* use min until we have a need to key by arch */
|
||||
RET(((uint64_t []) { 256, 256, 256 }));
|
||||
|
||||
case PIPE_COMPUTE_CAP_MAX_THREADS_PER_BLOCK:
|
||||
RET((uint64_t []) { 1024 });
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue