From: Neha Bhende Date: Tue, 11 Sep 2018 19:27:54 +0000 (-0600) Subject: svga: Enable Opengl 3.3 compatibility profile X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=708d34d41a4b190133ec0feb49403244cafd5a7a;p=mesa.git svga: Enable Opengl 3.3 compatibility profile With this patch, svga driver will start advertising OpenGL 3.3 compatibility profile. Tested with some mesa demos, piglit and glretrace. Reviewed-by: Brian Paul Reviewed-by: Charmaine Lee --- diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c index 92523315191..ab9a3c7f0d8 100644 --- a/src/gallium/drivers/svga/svga_screen.c +++ b/src/gallium/drivers/svga/svga_screen.c @@ -280,7 +280,7 @@ svga_get_param(struct pipe_screen *screen, enum pipe_cap param) return sws->have_vgpu10 ? 330 : 120; case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY: - return sws->have_vgpu10 ? 140 : 120; + return sws->have_vgpu10 ? 330 : 120; case PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER: case PIPE_CAP_DEPTH_CLIP_DISABLE_SEPARATE: