mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
mesa/st: set reserved storage for params+values to 16
zink apparently has a lot of uniform data, and 8x8 isn't enough to avoid realloc
fixes mesa/mesa#3930
Fixes: eda37fb2 ("mesa: properly disallow param list reallocation")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7990>
This commit is contained in:
parent
869a6274a8
commit
9d22c438cb
1 changed files with 1 additions and 1 deletions
|
|
@ -504,7 +504,7 @@ st_glsl_to_nir_post_opts(struct st_context *st, struct gl_program *prog,
|
|||
* storage is only associated with the original parameter list.
|
||||
* This should be enough for Bitmap and DrawPixels constants.
|
||||
*/
|
||||
_mesa_reserve_parameter_storage(prog->Parameters, 8, 8);
|
||||
_mesa_reserve_parameter_storage(prog->Parameters, 16, 16);
|
||||
_mesa_disallow_parameter_storage_realloc(prog->Parameters);
|
||||
|
||||
/* This has to be done last. Any operation the can cause
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue