radeonsi: enable GL 4.5 in compat profile
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 24 Aug 2018 11:06:17 +0000 (21:06 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 29 Aug 2018 21:57:38 +0000 (07:57 +1000)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_get.c

index d5a4d10181f3b2e81020f11060d29c303125c8a0..90f62edf470736f3b33a5592042ef2b8d99a1b38 100644 (file)
@@ -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: