[Mesa-dev] [PATCH 05/19] swrast: Remove support for GL_NV_vertex_program.

Eric Anholt eric at anholt.net
Tue Oct 9 18:06:37 PDT 2012


It's not supported in any hardware drivers, and doesn't appear to be useful on
Linux.
---
 src/mesa/drivers/dri/swrast/swrast.c |    1 -
 src/mesa/main/extensions.c           |    2 --
 2 files changed, 3 deletions(-)

diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast/swrast.c
index 82dd7ab..7596973 100644
--- a/src/mesa/drivers/dri/swrast/swrast.c
+++ b/src/mesa/drivers/dri/swrast/swrast.c
@@ -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",
diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index 4971ebc..1bdd1b1 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -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;
-- 
1.7.10.4



More information about the mesa-dev mailing list