diff options
| author | Brian Paul <brian.paul@tungstengraphics.com> | 2002-03-13 04:33:16 +0000 | 
|---|---|---|
| committer | Brian Paul <brian.paul@tungstengraphics.com> | 2002-03-13 04:33:16 +0000 | 
| commit | f9708e45ac819a0c589e14ea81e635fbbc8033f8 (patch) | |
| tree | 8426c0fb0523c50dcdcd4109605812bcc2a22726 /src | |
| parent | 1d01794e6efa2a366057412f24f82504cc3c2d87 (diff) | |
initial work for NV_vertex_program1_1 extension
Diffstat (limited to 'src')
| -rw-r--r-- | src/mesa/main/extensions.c | 4 | ||||
| -rw-r--r-- | src/mesa/main/mtypes.h | 8 | 
2 files changed, 10 insertions, 2 deletions
| diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 8054360fd2..9f0542395c 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -1,4 +1,4 @@ -/* $Id: extensions.c,v 1.69 2002/02/15 16:32:06 brianp Exp $ */ +/* $Id: extensions.c,v 1.70 2002/03/13 04:33:16 brianp Exp $ */  /*   * Mesa 3-D graphics library @@ -113,6 +113,7 @@ static struct {     { OFF, "GL_NV_blend_square",                F(NV_blend_square) },     { ON,  "GL_NV_texgen_reflection",           F(NV_texgen_reflection) },     { OFF, "GL_NV_vertex_program",              F(NV_vertex_program) }, +   { OFF, "GL_NV_vertex_program1_1",           F(NV_vertex_program1_1) },     { OFF, "GL_SGI_color_matrix",               F(SGI_color_matrix) },     { OFF, "GL_SGI_color_table",                F(SGI_color_table) },     { OFF, "GL_SGIS_generate_mipmap",           F(SGIS_generate_mipmap) }, @@ -172,6 +173,7 @@ _mesa_enable_sw_extensions(GLcontext *ctx)        "GL_NV_blend_square",        "GL_NV_texgen_reflection",        "GL_NV_vertex_program", +      "GL_NV_vertex_program1_1",        "GL_SGI_color_matrix",        "GL_SGI_color_table",        "GL_SGIS_generate_mipmap", diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 626602fa90..efa26afe8b 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -1,4 +1,4 @@ -/* $Id: mtypes.h,v 1.65 2002/02/15 16:37:36 brianp Exp $ */ +/* $Id: mtypes.h,v 1.66 2002/03/13 04:33:16 brianp Exp $ */  /*   * Mesa 3-D graphics library @@ -1212,6 +1212,10 @@ enum vp_opcode     SGE,     MAD,     ARL, +   DPH, +   RCC, +   SUB, +   ABS,     END  }; @@ -1251,6 +1255,7 @@ struct vp_program     GLenum Target;      /* GL_VERTEX_PROGRAM_NV or GL_VERTEX_STATE_PROGRAM_NV */     GLint ErrorPos;            /* Position in string where error was detected */     GLint RefCount;            /* Since programs can be shared among contexts */ +   GLboolean IsPositionInvariant;  /* GL_NV_vertex_program1_1 */     GLboolean Resident;     GLuint InputsRead;     /* Bitmask of which input regs are read */     GLuint OutputsWritten; /* Bitmask of which output regs are written to */ @@ -1424,6 +1429,7 @@ struct gl_extensions {     GLboolean NV_blend_square;     GLboolean NV_texgen_reflection;     GLboolean NV_vertex_program; +   GLboolean NV_vertex_program1_1;     GLboolean SGI_color_matrix;     GLboolean SGI_color_table;     GLboolean SGIS_generate_mipmap; | 
