i915: Drop 965+ GL version setup.
authorEric Anholt <eric@anholt.net>
Thu, 20 Jun 2013 22:27:21 +0000 (15:27 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 28 Jun 2013 20:35:24 +0000 (13:35 -0700)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i915/intel_screen.c

index cd4706cd69b055cf4a43baedf1dde2ab43a231fe..7bb2e4ea3538f588102ce4aa1d88d2d22db30f27 100644 (file)
@@ -1065,33 +1065,12 @@ set_max_gl_versions(struct intel_screen *screen)
    int gl_version_override = _mesa_get_gl_version_override();
 
    switch (screen->gen) {
-   case 7:
-      screen->max_gl_core_version = 31;
-      screen->max_gl_compat_version = 30;
-      screen->max_gl_es1_version = 11;
-      screen->max_gl_es2_version = 30;
-      break;
-   case 6:
-      screen->max_gl_core_version = 31;
-      screen->max_gl_compat_version = 30;
-      screen->max_gl_es1_version = 11;
-      screen->max_gl_es2_version = 30;
-      break;
-   case 5:
-   case 4:
-      screen->max_gl_core_version = 0;
-      screen->max_gl_compat_version = 21;
-      screen->max_gl_es1_version = 11;
-      screen->max_gl_es2_version = 20;
-      break;
-   case 3: {
+   case 3:
       screen->max_gl_core_version = 0;
       screen->max_gl_es1_version = 11;
       screen->max_gl_compat_version = 21;
       screen->max_gl_es2_version = 20;
-
       break;
-   }
    case 2:
       screen->max_gl_core_version = 0;
       screen->max_gl_compat_version = 13;