lima: Fix crashes for GPUs with more than four cores

Reviewed-by: Erico Nunes <nunes.erico@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12738>
This commit is contained in:
Icecream95 2021-09-06 21:38:43 +12:00 committed by Marge Bot
parent c1f40c762c
commit 4ad4aa38fa

View file

@ -552,8 +552,8 @@ lima_generate_pp_stream(struct lima_job *job, int off_x, int off_y,
*/
int max = MAX2(tiled_w, tiled_h);
int index = 0;
uint32_t *stream[4];
int si[4] = {0};
uint32_t *stream[8];
int si[8] = {0};
int dim = 0;
int count = 0;