From: Topi Pohjolainen Date: Tue, 19 Apr 2016 06:45:09 +0000 (+0300) Subject: i965/blorp: Do not resolve lossless compressed blit sources X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1a05aeeb1c83057041d558a8dca75ace8687fc96;p=mesa.git i965/blorp: Do not resolve lossless compressed blit sources Blorp blits use sampling engine which is capable of resolving on the fly. Buffers are still resolved for blitter engine. Current understanding is that blitter doesn't understand lossless compression. Signed-off-by: Topi Pohjolainen Reviewed-by: Ben Widawsky --- diff --git a/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp b/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp index f26701da754..c8eb87f9f40 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp +++ b/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp @@ -1879,7 +1879,7 @@ brw_blorp_blit_miptrees(struct brw_context *brw, * to destination color buffers, and the standard render path is * fast-color-aware. */ - intel_miptree_resolve_color(brw, src_mt, 0); + intel_miptree_resolve_color(brw, src_mt, INTEL_MIPTREE_IGNORE_CCS_E); intel_miptree_slice_resolve_depth(brw, src_mt, src_level, src_layer); intel_miptree_slice_resolve_depth(brw, dst_mt, dst_level, dst_layer);