Message ID | 1286609550-16083-11-git-send-email-haihao.xiang@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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;