summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2016-06-08 13:17:41 -0700
committerJordan Justen <jordan.l.justen@intel.com>2016-08-26 10:09:22 -0700
commit93f5eb7ae75b68d1091c725912e576d533e91b2d (patch)
treec271e8fabad5e3c7e3312022994d02c638b40f72
parent116b6e12d4d6f08d1c86475f5a2655d074804d6f (diff)
i965: Enable OpenGLES 3.1 for Haswell
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
-rw-r--r--src/mesa/drivers/dri/i965/intel_screen.c5
1 files changed, 5 insertions, 0 deletions
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;