i965: Adjust fast-clear resolve rect for BDW
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 5 Sep 2014 17:53:48 +0000 (10:53 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Sat, 6 Sep 2014 03:47:03 +0000 (20:47 -0700)
commit2d6d3461d307636b61d0f483677aaad11d1fd42a
treecb52f32f24874ada9a262a80e892a8bdaa5e7aad
parentca9ab05d45ebf407485af2daa3742b897ff99162
i965: Adjust fast-clear resolve rect for BDW

The scale factors for the resolve rectangle change for BDW and we have
to look at brw->gen now to figure out how big it should be.

Fixes: https://bugs.freedesktop.org/attachment.cgi?id=105777
Cc: "10.3" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_meta_fast_clear.c