From 6162ce6c6004bf6828592e5928537e554eb7d1f1 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Wed, 24 Apr 2019 10:29:13 +0200 Subject: [PATCH] softpipe: Increase the GLSL feature level This will enable calls to the interpolateAt* functions, but also a bunch of other features. Signed-off-by: Gert Wollny Reviewed-by: Roland Scheidegger --- 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 0a4235152da..5d44824e202 100644 --- a/src/gallium/drivers/softpipe/sp_screen.c +++ b/src/gallium/drivers/softpipe/sp_screen.c @@ -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: -- 2.30.2