softpipe: enable GLSL 1.40
authorDave Airlie <airlied@redhat.com>
Thu, 6 Dec 2012 06:14:25 +0000 (16:14 +1000)
committerDave Airlie <airlied@redhat.com>
Sat, 8 Dec 2012 03:32:38 +0000 (13:32 +1000)
This enables GLSL 1.40 advertising by softpipe.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/softpipe/sp_screen.c

index 1e752fbc8c805024fa3a21647134cd8b55d2665c..909fa1c98b2c5f25deb3f1db5d80ed8154e32330 100644 (file)
@@ -147,7 +147,7 @@ softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
    case PIPE_CAP_MIXED_COLORBUFFER_FORMATS:
       return 0;
    case PIPE_CAP_GLSL_FEATURE_LEVEL:
-      return 130;
+      return 140;
    case PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION:
       return 0;
    case PIPE_CAP_COMPUTE: