[Intel-gfx] [PATCH 10/10] no compression flag on Sandybridge
Xiang, Haihao
haihao.xiang at intel.com
Sat Oct 9 09:32:30 CEST 2010
Signed-off-by: Xiang, Haihao <haihao.xiang at intel.com>
---
src/gram.y | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/gram.y b/src/gram.y
index e61e9db..a57e4e9 100644
--- a/src/gram.y
+++ b/src/gram.y
@@ -1612,8 +1612,10 @@ instoption_list:
$$.header.compression_control |= BRW_COMPRESSION_2NDHALF;
break;
case COMPR:
- $$.header.compression_control |=
- BRW_COMPRESSION_COMPRESSED;
+ if (gen_level < 6) {
+ $$.header.compression_control |=
+ BRW_COMPRESSION_COMPRESSED;
+ }
break;
case SWITCH:
$$.header.thread_control |= BRW_THREAD_SWITCH;
--
1.7.0.4
More information about the Intel-gfx
mailing list