On 07/21/2011 12:16 PM, Ian Romanick wrote: > From: Ian Romanick <ian.d.roman...@intel.com> > > Leaving the unused registers with other values caused assertion > failures and other problems in places that blindly iterate over all > sources. > > brw_vs_emit.c:1381: get_src_reg: Assertion `c->regs[file][index].nr != > 0' failed. > > Fixes i965 piglit: > > vs-uniform-array-mat[234]-col-row-rd > vs-uniform-array-mat[234]-index-col-row-rd > vs-uniform-array-mat[234]-index-row-rd > vs-uniform-mat[234]-col-row-rd > --- > src/mesa/program/prog_optimize.c | 9 +++++++++ > 1 files changed, 9 insertions(+), 0 deletions(-)
Reviewed-by: Kenneth Graunke <kenn...@whitecape.org> _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev