diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-04-17 01:48:56 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-04-17 01:48:56 +0000 |
commit | af0c2470210632abf365b149bc81274aa7b04258 (patch) | |
tree | f5cac3c44fe3c256d77da8aa49fcc4af95fe1e30 /include | |
parent | 451f31093e950e2c76e8d7dee3cb097049a906b5 (diff) | |
download | external_mesa3d-af0c2470210632abf365b149bc81274aa7b04258.zip external_mesa3d-af0c2470210632abf365b149bc81274aa7b04258.tar.gz external_mesa3d-af0c2470210632abf365b149bc81274aa7b04258.tar.bz2 |
temporary GL_ARB_fragment_program tokens
Diffstat (limited to 'include')
-rw-r--r-- | include/GL/gl.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h index 2d7b9ba..e99f499 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 |