mesa/st: bump param reservation to 20

I was hitting the realloc assert, so increase this again

fixes (zink+tu):
KHR-GL46.geometry_shader.api.max_atomic_counter_buffers

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16851>
This commit is contained in:
Mike Blumenkrantz 2022-06-03 09:52:29 -04:00 committed by Marge Bot
parent 3ec74cd1c7
commit 20a57f8a05

View file

@ -479,7 +479,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_ensure_and_associate_uniform_storage(st->ctx, shader_program, prog, 16);
_mesa_ensure_and_associate_uniform_storage(st->ctx, shader_program, prog, 20);
st_set_prog_affected_state_flags(prog);