mesa: don't expose unsupported GL_ARB_geometry_shader4 for now
authorLuca Barbieri <luca@luca-barbieri.com>
Tue, 24 Aug 2010 19:05:51 +0000 (21:05 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Sun, 5 Sep 2010 15:53:16 +0000 (17:53 +0200)
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

index c9862ca29e640050e6567c0adb98ea05d4a4c64f..50b97f51132a76eb5a6f6dd29e4b6d223739c7c8 100644 (file)
@@ -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) },