gallium: be smarter about picking the sampler unit for pstipple, aaalines
authorBrian <brian.paul@tungstengraphics.com>
Tue, 25 Mar 2008 01:36:44 +0000 (19:36 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Tue, 25 Mar 2008 01:36:44 +0000 (19:36 -0600)
commit6579440ea98e61871fe781c1c9c681645ddcc075
tree75874e8808dd4070563ac84e3af595d00a4b42d1
parent4654803e2595ea041ea83baf5e13e6c68890e9a7
gallium: be smarter about picking the sampler unit for pstipple, aaalines

Also, if the app really uses all available sampler/texture units, don't just
die.  Just use the last sampler for the pstipple or aaline texture.
src/gallium/auxiliary/draw/draw_aaline.c
src/gallium/auxiliary/draw/draw_pstipple.c