Mesa (master): mesa: remove dead geom shader code

Brian Paul brianp at kemper.freedesktop.org
Thu Jan 9 18:37:00 UTC 2014


Module: Mesa
Branch: master
Commit: 689ec8dfb21ae0ea94fc7e0bb9554a8a7aac3003
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=689ec8dfb21ae0ea94fc7e0bb9554a8a7aac3003

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan  7 16:13:56 2014 -0700

mesa: remove dead geom shader code

I doubt the swrast-based drivers will ever support GS.

Reviewed-by: Matt Turner <mattst88 at gmail.com>

---

 src/mesa/main/extensions.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index efda548..89d4793 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -397,10 +397,6 @@ _mesa_enable_sw_extensions(struct gl_context *ctx)
    ctx->Extensions.ARB_fragment_program_shadow = GL_TRUE;
    ctx->Extensions.ARB_fragment_shader = GL_TRUE;
    ctx->Extensions.ARB_framebuffer_object = GL_TRUE;
-   /* XXX re-enable when GLSL compiler again supports geometry shaders */
-#if 0
-   ctx->Extensions.ARB_geometry_shader4 = GL_TRUE;
-#endif
    ctx->Extensions.ARB_half_float_pixel = GL_TRUE;
    ctx->Extensions.ARB_half_float_vertex = GL_TRUE;
    ctx->Extensions.ARB_map_buffer_range = GL_TRUE;




More information about the mesa-commit mailing list