From 08ff059f203f05a0cc417a46fe37f83929963db5 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 21 Jul 2003 04:22:40 +0000 Subject: Initial implementation of GL_MESA_program_debug - a vertex/fragment program debugging extension. --- src/mesa/main/nvfragprog.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/mesa/main/nvfragprog.h') diff --git a/src/mesa/main/nvfragprog.h b/src/mesa/main/nvfragprog.h index 491fcdda6c6..2f2434b42ef 100644 --- a/src/mesa/main/nvfragprog.h +++ b/src/mesa/main/nvfragprog.h @@ -1,4 +1,3 @@ - /* * Mesa 3-D graphics library * Version: 5.1 @@ -24,8 +23,8 @@ */ -/* Private vertex program types and constants only used by files - * related to vertex programs. +/* Private fragment program types and constants only used by files + * related to fragment programs. */ @@ -166,8 +165,10 @@ struct fp_instruction GLubyte Precision; /* FLOAT32, FLOAT16 or FIXED12 */ GLubyte TexSrcUnit; /* texture unit for TEX, TXD, TXP instructions */ GLubyte TexSrcBit; /* TEXTURE_1D,2D,3D,CUBE,RECT_BIT source target */ +#if FEATURE_MESA_program_debug + GLint StringPos; +#endif }; - #endif -- cgit v1.2.3