In TEX instructions, use precomputed lambda only if using fragment.texcoord[k]
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 31 Oct 2006 14:29:01 +0000 (14:29 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 31 Oct 2006 14:29:01 +0000 (14:29 +0000)
commitecd1743a0c88b7e574848c0cb100fdcd880979de
treeea6ef07c9101c846289781fd45945e5be33ea7e9
parent256c96136c38f47824b5aaf584bc949788f913e7
In TEX instructions, use precomputed lambda only if using fragment.texcoord[k]
to sample texture[k].  Use zero otherwise.  Not foolproof, but a good
compromise.
src/mesa/swrast/s_nvfragprog.c