Mesa (master): softpipe: enable GLSL 1.40

Dave Airlie airlied at kemper.freedesktop.org
Sat Dec 8 03:39:09 UTC 2012


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

Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Dec  6 16:14:25 2012 +1000

softpipe: enable GLSL 1.40

This enables GLSL 1.40 advertising by softpipe.

Signed-off-by: Dave Airlie <airlied at redhat.com>

---

 src/gallium/drivers/softpipe/sp_screen.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
index 1e752fb..909fa1c 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -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:




More information about the mesa-commit mailing list