r600: bump glsl version
authorAndre Maasikas <amaasikas@gmail.com>
Mon, 9 Aug 2010 11:28:00 +0000 (14:28 +0300)
committerAndre Maasikas <amaasikas@gmail.com>
Mon, 9 Aug 2010 11:28:00 +0000 (14:28 +0300)
from the tests i couldn't find any new driver faults

src/mesa/drivers/dri/r600/r600_context.c

index 84d9d423124bafbd67fd5bd285c526182d73ed4b..86e1c1589d88ba0148b5587fc2c3c69aedc94737 100644 (file)
@@ -72,6 +72,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 #define R600_ENABLE_GLSL_TEST 1
 
 #define need_GL_VERSION_2_0
+#define need_GL_VERSION_2_1
 #define need_GL_ARB_occlusion_query
 #define need_GL_ARB_point_parameters
 #define need_GL_ARB_vertex_program
@@ -157,6 +158,7 @@ static const struct dri_extension mm_extensions[] = {
 static const struct dri_extension gl_20_extension[] = {
 #ifdef R600_ENABLE_GLSL_TEST
     {"GL_ARB_shading_language_100",                    GL_VERSION_2_0_functions },
+    {"GL_ARB_shading_language_120",                    GL_VERSION_2_1_functions },
 #else
   {"GL_VERSION_2_0",                   GL_VERSION_2_0_functions },
 #endif /* R600_ENABLE_GLSL_TEST */