r300g: fix hardlock when using more than one stuffed sprite coords
authorMarek Olšák <maraeo@gmail.com>
Mon, 2 Aug 2010 15:14:07 +0000 (17:14 +0200)
committerMarek Olšák <maraeo@gmail.com>
Mon, 2 Aug 2010 15:26:23 +0000 (17:26 +0200)
commitafa925066c158ac49e3b0f883f67debd8545bf26
tree4882456bbf070867daaf2e9025eaa15570977655
parent8446f257b3e3ca4a3eb2c79bc357e46343e04e87
r300g: fix hardlock when using more than one stuffed sprite coords

If texture coordinates come from the vertex shader, there are always
4 components in the rasterizer input packet, but if the coordinates
are stuffed (like for point sprites), there are only 2 or 3 components
(based on GB_ENABLE) and if we rasterize more, it locks up.
src/gallium/drivers/r300/r300_state.c
src/gallium/drivers/r300/r300_state_derived.c