aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_screen.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2013-06-21 09:22:39 -0700
committerKenneth Graunke <[email protected]>2013-06-28 13:35:25 -0700
commit28e80d7136b5b6ec758890a2d5b325d527d7dda9 (patch)
treeee6151a8518e07c317bb8eefeecd4d1d0a766510 /src/mesa/drivers/dri/i965/intel_screen.c
parent4a08a86f222f839aba68c5b5a775352d5b5ff5fa (diff)
i965: Drop i915 code from intel_screen.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_screen.c')
-rw-r--r--src/mesa/drivers/dri/i965/intel_screen.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c
index 61972dfe461..8d9d2673146 100644
--- a/src/mesa/drivers/dri/i965/intel_screen.c
+++ b/src/mesa/drivers/dri/i965/intel_screen.c
@@ -1165,20 +1165,6 @@ set_max_gl_versions(struct intel_screen *screen)
screen->max_gl_es1_version = 11;
screen->max_gl_es2_version = 20;
break;
- 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;
- screen->max_gl_es1_version = 11;
- screen->max_gl_es2_version = 0;
- break;
default:
assert(!"unrecognized intel_screen::gen");
break;
@@ -1244,12 +1230,8 @@ __DRIconfig **intelInitScreen2(__DRIscreen *psp)
intelScreen->gen = 6;
} else if (IS_GEN5(intelScreen->deviceID)) {
intelScreen->gen = 5;
- } else if (IS_965(intelScreen->deviceID)) {
- intelScreen->gen = 4;
- } else if (IS_9XX(intelScreen->deviceID)) {
- intelScreen->gen = 3;
} else {
- intelScreen->gen = 2;
+ intelScreen->gen = 4;
}
intelScreen->hw_has_separate_stencil = intelScreen->gen >= 6;