From: Brian Date: Mon, 9 Apr 2007 03:48:19 +0000 (-0600) Subject: enable GLSL 1.20 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af807a4696866a4ee08bb2a4e95b9c02011db530;p=mesa.git enable GLSL 1.20 --- diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h index 8ea2d2c615a..a4de3bd1fae 100644 --- a/src/mesa/main/config.h +++ b/src/mesa/main/config.h @@ -300,6 +300,7 @@ #define FEATURE_ARB_fragment_shader _HAVE_FULL_GL #define FEATURE_ARB_shader_objects (FEATURE_ARB_vertex_shader || FEATURE_ARB_fragment_shader) #define FEATURE_ARB_shading_language_100 FEATURE_ARB_shader_objects +#define FEATURE_ARB_shading_language_120 FEATURE_ARB_shader_objects #define FEATURE_EXT_framebuffer_blit _HAVE_FULL_GL #define FEATURE_EXT_framebuffer_object _HAVE_FULL_GL diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index b61cb821f7d..4e44c5b7103 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -199,6 +199,9 @@ _mesa_enable_sw_extensions(GLcontext *ctx) #endif #if FEATURE_ARB_shading_language_100 ctx->Extensions.ARB_shading_language_100 = GL_TRUE; +#endif +#if FEATURE_ARB_shading_language_120 + ctx->Extensions.ARB_shading_language_120 = GL_TRUE; #endif ctx->Extensions.ARB_shadow = GL_TRUE; ctx->Extensions.ARB_texture_border_clamp = GL_TRUE;