intel: turn on GL_ARB_shading_language_120
authorBrian Paul <brianp@vmware.com>
Thu, 12 Feb 2009 22:04:21 +0000 (15:04 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 14 Feb 2009 00:18:35 +0000 (17:18 -0700)
It's done in the Mesa GLSL compiler.  The only part of it that might
matter in drivers is the centroid sampling option for MSAA.

src/mesa/drivers/dri/intel/intel_extensions.c

index 28223ca1415c69a448df0b5fffaf0d29bf662760..9058e48bc5d81723e65691644945ec5b9bfb182d 100644 (file)
@@ -129,11 +129,7 @@ static const struct dri_extension brw_extensions[] = {
    { "GL_ARB_point_sprite",              NULL },
    { "GL_ARB_shader_objects",             GL_ARB_shader_objects_functions },
    { "GL_ARB_shading_language_100",       GL_VERSION_2_0_functions },
-#if 0
-   /* Support for GLSL 1.20 is currently broken in core Mesa.
-    */
    { "GL_ARB_shading_language_120",       GL_VERSION_2_1_functions },
-#endif
    { "GL_ARB_shadow",                     NULL },
    { "GL_ARB_texture_non_power_of_two",   NULL },
    { "GL_ARB_vertex_shader",              GL_ARB_vertex_shader_functions },