Fix up some assorted issues with initialization of vertex program registers.
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 21 Apr 2004 18:09:14 +0000 (18:09 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 21 Apr 2004 18:09:14 +0000 (18:09 +0000)
commit05a6f2fd484bab59c6e6a381f58808adc26619f1
tree6e946ed3619b65fbf5d9f77d5e214dcf40eedbfe
parent6164ae2b5a7ad00181aa2a80634e80e58c8c3fb6
Fix up some assorted issues with initialization of vertex program registers.
Some need to be set per-vertex, other per-primitive.  Cleared that up.
Only need to init temp/result registers if executing an NV vertex program.
src/mesa/main/mtypes.h
src/mesa/shader/nvprogram.c
src/mesa/shader/nvvertexec.c
src/mesa/shader/nvvertexec.h
src/mesa/shader/nvvertparse.c
src/mesa/tnl/t_vb_program.c