Mesa (master): r600: bump glsl version

Andre Maasikas andrem at kemper.freedesktop.org
Mon Aug 9 11:33:24 UTC 2010


Module: Mesa
Branch: master
Commit: 8d0985b9b8f20baecbf374f6543db12b1f1d52f9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d0985b9b8f20baecbf374f6543db12b1f1d52f9

Author: Andre Maasikas <amaasikas at gmail.com>
Date:   Mon Aug  9 14:28:00 2010 +0300

r600: bump glsl version

from the tests i couldn't find any new driver faults

---

 src/mesa/drivers/dri/r600/r600_context.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/r600/r600_context.c b/src/mesa/drivers/dri/r600/r600_context.c
index 84d9d42..86e1c15 100644
--- a/src/mesa/drivers/dri/r600/r600_context.c
+++ b/src/mesa/drivers/dri/r600/r600_context.c
@@ -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 */




More information about the mesa-commit mailing list