From: Timothy Arceri Date: Fri, 24 Aug 2018 11:06:17 +0000 (+1000) Subject: radeonsi: enable GL 4.5 in compat profile X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=406c3d748dac294e5c453eed7618a22d5d2cc0df;p=mesa.git radeonsi: enable GL 4.5 in compat profile Reviewed-by: Marek Olšák --- 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: