i965: Allow fast clear to be used with lossless compression
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Mon, 7 Dec 2015 10:23:04 +0000 (12:23 +0200)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Tue, 16 Feb 2016 06:52:24 +0000 (08:52 +0200)
commit0e79bff957d97c3bdd5d31d9abc7bcd5779c7afb
tree96466618eb39fdc4be205a184d69e4a32c83dbbc
parent4b801116d30a71e31794b7c46fc62af565170a6d
i965: Allow fast clear to be used with lossless compression

v2 (Ben): Use combination of msaa_layout and number of samples
          instead of introducing explicit type for lossless
          compression.
v3 (Ben): Squash with "i965: Resolve color buffer also in
          lossless compression case" and clarify simple
          non-compressed fast clear case.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Ben Widawsky <benjamin.widawsky@intel.com>
src/mesa/drivers/dri/i965/brw_meta_fast_clear.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.c