From: Jordan Justen Date: Wed, 8 Jun 2016 20:17:41 +0000 (-0700) Subject: i965: Enable OpenGLES 3.1 for Haswell X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=93f5eb7ae75b68d1091c725912e576d533e91b2d;p=mesa.git i965: Enable OpenGLES 3.1 for Haswell Signed-off-by: Jordan Justen Reviewed-by: Ian Romanick --- diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c index cb007d7dc21..84977a7c121 100644 --- a/src/mesa/drivers/dri/i965/intel_screen.c +++ b/src/mesa/drivers/dri/i965/intel_screen.c @@ -1432,6 +1432,11 @@ set_max_gl_versions(struct intel_screen *screen) psp->max_gl_es2_version = 31; break; case 7: + psp->max_gl_core_version = 33; + psp->max_gl_compat_version = 30; + psp->max_gl_es1_version = 11; + psp->max_gl_es2_version = screen->devinfo->is_haswell ? 31 : 30; + break; case 6: psp->max_gl_core_version = 33; psp->max_gl_compat_version = 30;