softpipe: Increase the GLSL feature level
authorGert Wollny <gert.wollny@collabora.com>
Wed, 24 Apr 2019 08:29:13 +0000 (10:29 +0200)
committerGert Wollny <gert.wollny@collabora.com>
Wed, 1 May 2019 06:40:39 +0000 (08:40 +0200)
This will enable calls to the interpolateAt* functions, but also a bunch
of other features.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/softpipe/sp_screen.c

index 0a4235152da3f5fbb5eede087fe16a705bf5ae79..5d44824e20284725fc93314820d982e1757b6fc7 100644 (file)
@@ -159,7 +159,7 @@ 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 330;
+      return 400;
    case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY:
       return 140;
    case PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION: