Update NEED_SECONDARY_COLOR macro to test if either vertex/fragment
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 9 Dec 2003 01:53:03 +0000 (01:53 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 9 Dec 2003 01:53:03 +0000 (01:53 +0000)
commit853bda3e7c4dfa7d8cc462729f6a3dce89e44963
tree9fdbf1812276c8f1f2bb8e56d82d0d163e22eae0
parente8bec8832b50b8c2310e40951bea8bd78f89715c
Update NEED_SECONDARY_COLOR macro to test if either vertex/fragment
programs are enabled and if they need secondary color input register.
Patch by Karl Rasche, with tweaks by Brian.
src/mesa/main/context.h
src/mesa/main/nvfragprog.h
src/mesa/swrast/s_aatriangle.c
src/mesa/swrast/s_context.c
src/mesa/swrast/s_lines.c
src/mesa/swrast/s_span.c
src/mesa/swrast/s_triangle.c
src/mesa/swrast_setup/ss_vb.c
src/mesa/tnl/t_vb_render.c