diff options
author | Neha Bhende <[email protected]> | 2018-09-11 13:27:54 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-09-20 13:20:10 -0600 |
commit | 708d34d41a4b190133ec0feb49403244cafd5a7a (patch) | |
tree | 191de5603fc11be1d517d2b04b769ad544f8bd98 /src/gallium | |
parent | ede805dd190fd3cd8e326e9b3191d2ed8ac14826 (diff) |
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 <[email protected]>
Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/svga/svga_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |