i965: Fix dead pointers to fp->Parameters->ParameterValues[] after realloc.
authorEric Anholt <eric@anholt.net>
Tue, 18 Jan 2011 00:02:58 +0000 (16:02 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 18 Jan 2011 00:27:55 +0000 (16:27 -0800)
commite4be665bbddcb6ddfd7b9b13f01152a97097b35c
treeba06d90b02e69d69ca4b071408ae0dd597d8b132
parent96a2e89ddeac0eb42fe6e6fbfd35eccb3e038ab4
i965: Fix dead pointers to fp->Parameters->ParameterValues[] after realloc.

Fixes texrect-many regression with ff_fragment_shader -- as we added
refs to the subsequent texcoord scaling paramters, the array got
realloced to a new address while our params[] still pointed at the old
location.
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h