Enable TexGen based on InputsRead when a fragment program is active
authorNicolai Haehnle <nhaehnle@gmail.com>
Sun, 29 Jun 2008 12:53:04 +0000 (14:53 +0200)
committerNicolai Haehnle <nhaehnle@gmail.com>
Fri, 4 Jul 2008 16:22:15 +0000 (18:22 +0200)
commit845e3f701dec29f08e5759969c165b3d812e5afe
treed0c5d1c2b69aec27464fc65b55d3ef74f59bacf5
parent1f4d0748ba92ff2c44faadc31a99f07e1bea28fb
Enable TexGen based on InputsRead when a fragment program is active

The old behaviour depended on which texture images the fragment program
reads from, which seems to contradict the shader specifications.

Note: Piglit's general/texgen test checks for this problem.
src/mesa/main/texstate.c