From 406c3d748dac294e5c453eed7618a22d5d2cc0df Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Fri, 24 Aug 2018 21:06:17 +1000 Subject: radeonsi: enable GL 4.5 in compat profile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák --- src/gallium/drivers/radeonsi/si_get.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/gallium/drivers/radeonsi/si_get.c b/src/gallium/drivers/radeonsi/si_get.c index d5a4d10181f..90f62edf470 100644 --- a/src/gallium/drivers/radeonsi/si_get.c +++ b/src/gallium/drivers/radeonsi/si_get.c @@ -185,8 +185,7 @@ static int si_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_GLSL_FEATURE_LEVEL: case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY: if (sscreen->info.has_indirect_compute_dispatch) - return param == PIPE_CAP_GLSL_FEATURE_LEVEL ? - 450 : 440; + return 450; return 420; case PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE: -- cgit v1.2.3