i965/blorp: Fix clear rectangle alignment in fast color clear
authorAnuj Phogat <anuj.phogat@gmail.com>
Tue, 9 Jul 2013 23:09:14 +0000 (16:09 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Thu, 11 Jul 2013 01:41:16 +0000 (18:41 -0700)
commit9a1a67b081b7f7f4030a5bff7af12bbb70a970ef
tree386f6a1c656f0772eb875858c4b79aadde043974
parentad244884fc4ac0b6e9c03f20e5a34bb5eb34e60a
i965/blorp: Fix clear rectangle alignment in fast color clear

From BSpec: 3D-Media-GPGPU Engine > 3D Pipeline > Pixel >
Pixel Backend > MCS Buffer for Render Target(s) [DevIVB+]:
[DevHSW:GT3]: Clear rectangle must be aligned to two times
the number of pixels in the table shown below...
Observed no piglit, gles3conform regressions with this patch.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=65744
src/mesa/drivers/dri/i965/brw_blorp_clear.cpp