diff options
author | Brian Paul <[email protected]> | 2003-04-17 01:48:56 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-04-17 01:48:56 +0000 |
commit | af0c2470210632abf365b149bc81274aa7b04258 (patch) | |
tree | f5cac3c44fe3c256d77da8aa49fcc4af95fe1e30 /include/GL | |
parent | 451f31093e950e2c76e8d7dee3cb097049a906b5 (diff) |
temporary GL_ARB_fragment_program tokens
Diffstat (limited to 'include/GL')
-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 2d7b9ba3ef4..e99f4999d02 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 |