Mesa (master): softpipe: enable GLSL 3.30 support.

Dave Airlie airlied at kemper.freedesktop.org
Wed Jun 11 02:21:38 UTC 2014


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

Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Jun 10 13:32:57 2014 +1000

softpipe: enable GLSL 3.30 support.

This enables GL3.3 on softpipe.

Reviewed-by: Roland Scheidegger <sroland at vmware.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>

---

 src/gallium/drivers/softpipe/sp_screen.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
index cdbba7d..d22ee27 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 140;
+      return 330;
    case PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION:
       return 0;
    case PIPE_CAP_COMPUTE:




More information about the mesa-commit mailing list