[Mesa-dev] [PATCH 02/23] i965/fs: Allocate the param_size array dynamically.
Paul Berry
stereotype441 at gmail.com
Tue Dec 17 13:53:25 PST 2013
On 2 December 2013 11:31, Francisco Jerez <currojerez at riseup.net> wrote:
> diff --git a/src/mesa/drivers/dri/i965/brw_wm.c
> b/src/mesa/drivers/dri/i965/brw_wm.c
> index bc1480c..b745d8f 100644
> --- a/src/mesa/drivers/dri/i965/brw_wm.c
> +++ b/src/mesa/drivers/dri/i965/brw_wm.c
> @@ -165,6 +165,7 @@ bool do_wm_prog(struct brw_context *brw,
> param_count += 2 * BRW_MAX_TEX_UNIT;
> c->prog_data.param = rzalloc_array(NULL, const float *, param_count);
> c->prog_data.pull_param = rzalloc_array(NULL, const float *,
> param_count);
> + c->prog_data.nr_params = param_count;
>
I believe this belongs in patch 1.
With that fixed, patches 1 and 2 are:
Reviewed-by: Paul Berry <stereotype441 at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20131217/64567761/attachment.html>
More information about the mesa-dev
mailing list