From: Zhenyu Wang Date: Fri, 20 Aug 2010 21:32:44 +0000 (-0700) Subject: i965: Sandybridge doesn't have Compr4 mode, since it's not needed any more. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=da1502494b63fcd65bc60f50e59241164481f8b3;p=mesa.git i965: Sandybridge doesn't have Compr4 mode, since it's not needed any more. --- 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 {