radeonsi: enable OpenGL 3.3 compat profile
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 18 Jun 2018 05:23:20 +0000 (15:23 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Mon, 18 Jun 2018 23:21:33 +0000 (09:21 +1000)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_get.c

index de05e8e7e6f436c1e6f7fda3bcfa103ad050d707..f33da90f38651d457cc9b57194506a96655ca0d6 100644 (file)
@@ -215,7 +215,7 @@ static int si_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
                return 420;
 
        case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY:
-               return 140;
+               return 330;
 
        case PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE:
                return MIN2(sscreen->info.max_alloc_size, INT_MAX);