Re: [Mesa-dev] [PATCH 02/23] i965/fs: Allocate the param_size array dynamically.

2013-12-17 Thread Paul Berry
On 2 December 2013 11:31, Francisco Jerez 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(str

[Mesa-dev] [PATCH 02/23] i965/fs: Allocate the param_size array dynamically.

2013-12-02 Thread Francisco Jerez
Useful because the total number of uniform components might exceed MAX_UNIFORMS * 4 in some cases because of the image metadata we'll be passing as push constants. --- src/mesa/drivers/dri/i965/brw_fs.h | 2 +- src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 2 +- src/mesa/drivers/dri/i96