mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-23 16:10:33 +01:00
llvmpipe/cl: limit kernel input size.
Fixes: api min_max_parameter_size Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12285>
This commit is contained in:
parent
c3bede9c96
commit
ff2d838c7a
1 changed files with 1 additions and 1 deletions
|
|
@ -517,7 +517,7 @@ llvmpipe_get_compute_param(struct pipe_screen *_screen,
|
|||
case PIPE_COMPUTE_CAP_MAX_INPUT_SIZE:
|
||||
if (ret) {
|
||||
uint64_t *max_input = ret;
|
||||
*max_input = 4096;
|
||||
*max_input = 1576;
|
||||
}
|
||||
return sizeof(uint64_t);
|
||||
case PIPE_COMPUTE_CAP_IMAGES_SUPPORTED:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue