swrast: Set vp_override flag during DrawPixels
authorNicolai Haehnle <nhaehnle@gmail.com>
Sun, 15 Feb 2009 12:34:43 +0000 (13:34 +0100)
committerNicolai Haehnle <nhaehnle@gmail.com>
Wed, 18 Feb 2009 20:52:51 +0000 (21:52 +0100)
commitbe3813d58adc0060c9f7a13ac7865217b96ea477
treef98c36e2c18e564fed61e37773dc5778c64df204
parent621c999d823eed077aee9ac0779077ba2f0c5e5a
swrast: Set vp_override flag during DrawPixels

Obviously, the color of fragments produced by DrawPixels is not constant,
even if the current vertex array / vertex program state indicates that the
color for normal rendering will be constant. Therefore, we need to override
certain optimisations that have been added to texenvprogram.c

Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
src/mesa/swrast/s_drawpix.c