Audit/fixes for NV/ARB TEX, TXP, TXB, TXD instructions.
authorBrian Paul <brian.paul@tungstengraphics.com>
Sun, 18 Apr 2004 20:11:52 +0000 (20:11 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sun, 18 Apr 2004 20:11:52 +0000 (20:11 +0000)
commitd8b82147c3cb17a06bf41e97141b8427b4580459
tree6d8363f5d5fba37f1c128f21f2003778cbad986e
parentc83d09e3b09b0b7a48eb0e025c220e95453c2033
Audit/fixes for NV/ARB TEX, TXP, TXB, TXD instructions.
Some texture instructions were using wrong LOD.
Fixed interpolate_texcoords() so it doesn't do texcoord projective division
when using a fragment program.  The TXP instruction does that.
src/mesa/shader/nvfragparse.c
src/mesa/shader/nvfragprog.h
src/mesa/swrast/s_nvfragprog.c
src/mesa/swrast/s_span.c