i965/blorp: Refactor code for computing fast clear align/scaledown factors.
authorPaul Berry <stereotype441@gmail.com>
Tue, 3 Dec 2013 19:40:23 +0000 (11:40 -0800)
committerPaul Berry <stereotype441@gmail.com>
Mon, 9 Dec 2013 18:54:07 +0000 (10:54 -0800)
commit0ac622accf9ed9457e3d8a81fa8e6e3ef0a4befc
treedfcec2840c2a96f95bfbe01eefa410b3338db2cd
parentda08ee8e3b81f1a11050dc7b280c07cef4c2c653
i965/blorp: Refactor code for computing fast clear align/scaledown factors.

This will make it easier to add fast color clear support to MSAA
buffers, since they have different alignment and scaling requirements.

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_blorp_clear.cpp