projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e2d0cc
)
i965: Sandybridge doesn't have Compr4 mode, since it's not needed any more.
author
Zhenyu Wang
<zhenyuw@linux.intel.com>
Fri, 20 Aug 2010 21:32:44 +0000
(14:32 -0700)
committer
Eric Anholt
<eric@anholt.net>
Fri, 20 Aug 2010 23:17:39 +0000
(16:17 -0700)
src/mesa/drivers/dri/i965/brw_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_context.c
b/src/mesa/drivers/dri/i965/brw_context.c
index 6d064b822e51dba97e315ab0b3cb36ff164e7322..408fa0aeeaaf580a982046bc33d118db412618e1 100644
(file)
--- 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 {