i965: Set fast color clear mcs_state on newly allocated image miptrees
authorKeith Packard <keithp@keithp.com>
Fri, 22 Nov 2013 13:41:38 +0000 (05:41 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 21 Dec 2013 00:19:52 +0000 (16:19 -0800)
commit547bcc4b571e303c562d99dde74b915e56da54c0
tree7f1b307ee677bbee8be1ebf017eddd7cb813ab65
parentc426fb08cfd973b255d6e97d99350efc38b740ed
i965: Set fast color clear mcs_state on newly allocated image miptrees

Just copying code from the dri2 path to set up the fast color clear state.

This also removes a couple of bogus intel_region_reference calls.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c