r300: fix a GPU lock up
authorMaciej Cencora <m.cencora@gmail.com>
Sun, 7 Jun 2009 19:34:44 +0000 (21:34 +0200)
committerMaciej Cencora <m.cencora@gmail.com>
Thu, 11 Jun 2009 21:24:25 +0000 (23:24 +0200)
commit9abc72d1fc0aada59a76bd602ebc36db9a729b5b
tree9ae20505682af5c0cbd193f73c093ae92bd840f2
parentde19eb0b0dba08b2ad3829b7ced94931139af843
r300: fix a GPU lock up

Sending from VAP more texture coordinates than RS expects results in GPU hang.

Fixes BumpSelfShadow from DirectX8 SDK.
src/mesa/drivers/dri/r300/r300_emit.c
src/mesa/drivers/dri/r300/r300_emit.h
src/mesa/drivers/dri/r300/r300_state.c