i965: Enable OpenGLES 3.1 for Haswell
authorJordan Justen <jordan.l.justen@intel.com>
Wed, 8 Jun 2016 20:17:41 +0000 (13:17 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Fri, 26 Aug 2016 17:09:22 +0000 (10:09 -0700)
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/intel_screen.c

index cb007d7dc2108b82f59decc55910fe51e402f9ba..84977a7c12192e0709fd741f870f5eebb5a05d14 100644 (file)
@@ -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;