summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhenyu Wang <[email protected]>2010-08-20 14:32:44 -0700
committerEric Anholt <[email protected]>2010-08-20 16:17:39 -0700
commitda1502494b63fcd65bc60f50e59241164481f8b3 (patch)
tree796b988720fed582d0e37d307fecf77ed869e979
parent0e2d0cc577270f86691d6bb84a50d11e3a6d0754 (diff)
i965: Sandybridge doesn't have Compr4 mode, since it's not needed any more.
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index 6d064b822e5..408fa0aeeaa 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -144,7 +144,8 @@ GLboolean brwCreateContext( int api,
brw->CMD_VF_STATISTICS = CMD_VF_STATISTICS_GM45;
brw->CMD_PIPELINE_SELECT = CMD_PIPELINE_SELECT_GM45;
brw->has_surface_tile_offset = GL_TRUE;
- brw->has_compr4 = GL_TRUE;
+ if (intel->gen < 6)
+ brw->has_compr4 = GL_TRUE;
brw->has_aa_line_parameters = GL_TRUE;
brw->has_pln = GL_TRUE;
} else {