From 81032030ff42dd78133d85f7cabab5fb4c9aaf1e Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Thu, 9 Jun 2005 14:55:34 +0000 Subject: 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. --- src/mesa/tnl/t_vp_build.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/mesa/tnl/t_vp_build.h') diff --git a/src/mesa/tnl/t_vp_build.h b/src/mesa/tnl/t_vp_build.h index 39c0348dd7..8a66976755 100644 --- a/src/mesa/tnl/t_vp_build.h +++ b/src/mesa/tnl/t_vp_build.h @@ -28,10 +28,6 @@ #include "mtypes.h" -/* Define to 1 to test fixed-function execution via vertex programs: - */ -#define TNL_FIXED_FUNCTION_PROGRAM 0 - extern void _tnl_UpdateFixedFunctionProgram( GLcontext *ctx ); #endif -- cgit v1.2.3