From af0c2470210632abf365b149bc81274aa7b04258 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 17 Apr 2003 01:48:56 +0000 Subject: temporary GL_ARB_fragment_program tokens --- include/GL/gl.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/include/GL/gl.h b/include/GL/gl.h index 2d7b9ba3ef..e99f4999d0 100644 --- a/include/GL/gl.h +++ b/include/GL/gl.h @@ -2645,6 +2645,7 @@ GLAPI void GLAPIENTRY glTracePointerRangeMESA( const GLvoid* first, const GLvoid +/* XXX temporary until glext.h is updated! */ #ifndef GL_NV_fragment_program #define GL_NV_fragment_program 1 @@ -2714,6 +2715,28 @@ typedef void (APIENTRY * PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsi +/* XXX temporary until glext.h is updated! */ +#ifndef GL_ARB_fragment_program +#define GL_ARB_fragment_program 1 + +#define GL_FRAGMENT_PROGRAM_ARB 0x8804 +#define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805 +#define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806 +#define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807 +#define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808 +#define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809 +#define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A +#define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B +#define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C +#define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D +#define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E +#define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F +#define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810 + +#endif /* GL_ARB_fragment_program */ + + + /********************************************************************** * Begin system-specific stuff -- cgit v1.2.3