st/mesa: Always recalculate invalid index bounds.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Fri, 12 Mar 2010 10:51:40 +0000 (02:51 -0800)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Fri, 12 Mar 2010 10:54:10 +0000 (02:54 -0800)
commit50876ddaaff72a324ac45e255985e0f84e108594
treefd91f4bebc027016fb3b31fe0e0e0b079e7f7d38
parenta48e17ccb065194d11fbe87f77af660bb7fadae9
st/mesa: Always recalculate invalid index bounds.

These should always be sanitized before heading towards the pipe driver,
and if the calling function explicitly marked them as invalid, we need
to regenerate them.

Allows r300g to properly pass a bit more of Wine's d3d9 testing without
dropping stuff on the floor.
src/mesa/state_tracker/st_draw.c