[Mesa-dev] [PATCH] mesa: remove dead geom shader code

Brian Paul brianp at vmware.com
Wed Jan 8 16:39:07 PST 2014


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

Signed-off-by: Brian Paul <brianp at vmware.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;
-- 
1.7.10.4



More information about the mesa-dev mailing list