enable GLSL 1.20
authorBrian <brian@nostromo.localnet.net>
Mon, 9 Apr 2007 03:48:19 +0000 (21:48 -0600)
committerBrian <brian@nostromo.localnet.net>
Mon, 9 Apr 2007 03:48:19 +0000 (21:48 -0600)
src/mesa/main/config.h
src/mesa/main/extensions.c

index 8ea2d2c615ad10c24d7ff1059055ca21fa3f391a..a4de3bd1fae26443555cb108828e7a749f5db71d 100644 (file)
 #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
index b61cb821f7d02725274ed0b93c5a353e9925b157..4e44c5b71034f22324d5dd6ea203423caca13bbe 100644 (file)
@@ -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;