Mesa (master): mesa: don' t expose unsupported GL_ARB_geometry_shader4 for now

Luca Barbieri lb at kemper.freedesktop.org
Sun Sep 5 15:53:44 UTC 2010


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

Author: Luca Barbieri <luca at luca-barbieri.com>
Date:   Tue Aug 24 21:05:51 2010 +0200

mesa: don't expose unsupported GL_ARB_geometry_shader4 for now

The new GLSL compiler doesn't support it.

Advertising it prevents Unigine Heaven from working, since it attempts to
use it.

---

 src/mesa/main/extensions.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index c9862ca..50b97f5 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -58,7 +58,8 @@ static const struct {
    { OFF, "GL_ARB_fragment_shader",            F(ARB_fragment_shader) },
    { OFF, "GL_ARB_framebuffer_object",         F(ARB_framebuffer_object) },
    { OFF, "GL_ARB_explicit_attrib_location",   F(ARB_explicit_attrib_location) },
-   { OFF, "GL_ARB_geometry_shader4",           F(ARB_geometry_shader4) },
+   /* TODO: reenable this when the new GLSL compiler actually supports them */
+   /* { OFF, "GL_ARB_geometry_shader4",           F(ARB_geometry_shader4) }, */
    { OFF, "GL_ARB_half_float_pixel",           F(ARB_half_float_pixel) },
    { OFF, "GL_ARB_half_float_vertex",          F(ARB_half_float_vertex) },
    { OFF, "GL_ARB_imaging",                    F(ARB_imaging) },




More information about the mesa-commit mailing list