Mesa (master): softpipe: Enable GLSL 400 for compat contexts too.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Dec 27 19:34:41 UTC 2020


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

Author: Eric Anholt <eric at anholt.net>
Date:   Fri Dec 11 15:47:11 2020 -0800

softpipe: Enable GLSL 400 for compat contexts too.

This bumps the compat profile supported from 3.1 to 3.3, matching our GL
core profile.  Motivated by getting the piglit skip list cut down.

Reviewed-by: Adam Jackson <ajax at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8068>

---

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

diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
index b30cf8a1a5c..010c8e27f8c 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -189,9 +189,8 @@ softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
    case PIPE_CAP_MIXED_COLORBUFFER_FORMATS:
       return 1;
    case PIPE_CAP_GLSL_FEATURE_LEVEL:
-      return 400;
    case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY:
-      return 140;
+      return 400;
    case PIPE_CAP_COMPUTE:
       return 1;
    case PIPE_CAP_USER_VERTEX_BUFFERS:



More information about the mesa-commit mailing list