swrast: Remove support for GL_NV_vertex_program.
authorEric Anholt <eric@anholt.net>
Tue, 9 Oct 2012 22:11:57 +0000 (15:11 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 15 Oct 2012 18:53:23 +0000 (11:53 -0700)
It's not supported in any hardware drivers, and doesn't appear to be useful on
Linux.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/dri/swrast/swrast.c
src/mesa/main/extensions.c

index 82dd7abf8ddc4d4de17b8d94d314644235577cec..7596973b028ea76867ffd2ecfba53e2c89fa0b90 100644 (file)
@@ -663,7 +663,6 @@ static const char *es2_extensions[] = {
    "GL_EXT_framebuffer_blit",
    "GL_IBM_multimode_draw_arrays",
    "GL_MESA_window_pos",
-   "GL_NV_vertex_program",
 
    /* Required by GLES2 */
    "GL_ARB_fragment_program",
index 4971ebc930d3e94d00cfc78d6d2739ab8f538558..1bdd1b1b9a40a7527d912e711a4ad2c1dde31324 100644 (file)
@@ -475,8 +475,6 @@ _mesa_enable_sw_extensions(struct gl_context *ctx)
    ctx->Extensions.NV_texture_env_combine4 = GL_TRUE;
    ctx->Extensions.NV_texture_rectangle = GL_TRUE;
    /*ctx->Extensions.NV_texgen_reflection = GL_TRUE;*/
-   ctx->Extensions.NV_vertex_program = GL_TRUE;
-   ctx->Extensions.NV_vertex_program1_1 = GL_TRUE;
    ctx->Extensions.NV_fragment_program = GL_TRUE;
    ctx->Extensions.NV_fragment_program_option = GL_TRUE;
    ctx->Extensions.EXT_gpu_program_parameters = GL_TRUE;