nv50: fix constbuf validation
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sat, 31 Jul 2010 19:30:35 +0000 (21:30 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Wed, 4 Aug 2010 22:50:00 +0000 (00:50 +0200)
commit720e0c430d0a66cbf5adfcf40030f27e55ad6c6a
treefbcfa439334e7b403548162270b5893ad7661214
parent2c695d38e6b194572becf82300fba5e34b1fd7d7
nv50: fix constbuf validation

We only uploaded up to the highest offset a program would use,
and if the constant buffer isn't changed when a new program is
used, the new program is missing the rest of them.

Might want to introduce a "fill state" for user mem constbufs.
src/gallium/drivers/nv50/nv50_shader_state.c