Store compiled vertex program representations in a pointer in the
authorKeith Whitwell <keith@tungstengraphics.com>
Thu, 9 Jun 2005 14:55:34 +0000 (14:55 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Thu, 9 Jun 2005 14:55:34 +0000 (14:55 +0000)
commit81032030ff42dd78133d85f7cabab5fb4c9aaf1e
treed91f33c2f2c3d0814b43ae0da17a4f120c4e4372
parenta8534885efb13ec7f071192c1504513cd90d07de
Store compiled vertex program representations in a pointer in the
vertex_program struct.

Allow switching between regular and vertex_program implementations
of fixed function TNL with the MESA_TNL_PROG environment var
(previously this required recompilation).

Ensure program compilation only references program data, not the
wider context.  This means that compiled programs only need to be
invalidated when the program string changes, not on other state
changes.
12 files changed:
src/mesa/Makefile
src/mesa/main/imports.c
src/mesa/main/mtypes.h
src/mesa/tnl/t_context.c
src/mesa/tnl/t_context.h
src/mesa/tnl/t_pipeline.c
src/mesa/tnl/t_pipeline.h
src/mesa/tnl/t_vb_arbprogram.c
src/mesa/tnl/t_vb_arbprogram.h
src/mesa/tnl/t_vb_arbprogram_sse.c
src/mesa/tnl/t_vb_program.c
src/mesa/tnl/t_vp_build.h