i965/blorp: Refactor fast-clear logic a bit
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 25 Jul 2016 21:44:50 +0000 (14:44 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 17 Aug 2016 21:46:22 +0000 (14:46 -0700)
commit583f040fdab9f9cbd1b5e874cad820296d7a02a4
treee8ccb6425c07b22701ea5e8e8036c1105ed5f00c
parent457a40893260f4456433dc5667edbb9094cda130
i965/blorp: Refactor fast-clear logic a bit

This pulls the mcs allocation into the if statement where we initially
determine that we are doing a fast clear and moves the programming of
wm_inputs and figuring out the fast clear rect into it's own if statement.
The next commit will put code inbetween the two.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_blorp_clear.cpp