[Mesa-dev] [PATCH 10/12] radeonsi: allow direct hw MSAA resolve for scanout surfaces

Marek Olšák maraeo at gmail.com
Tue Jun 7 10:04:34 UTC 2016


From: Marek Olšák <marek.olsak at amd.com>

No idea why this was disabled, but it works fine.
---
 src/gallium/drivers/radeonsi/si_blit.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gallium/drivers/radeonsi/si_blit.c b/src/gallium/drivers/radeonsi/si_blit.c
index c25a1b5..3f45256 100644
--- a/src/gallium/drivers/radeonsi/si_blit.c
+++ b/src/gallium/drivers/radeonsi/si_blit.c
@@ -902,7 +902,6 @@ static bool do_hardware_msaa_resolve(struct pipe_context *ctx,
 	    info->src.box.height == dst_height &&
 	    info->src.box.depth == 1 &&
 	    dst->surface.level[info->dst.level].mode >= RADEON_SURF_MODE_1D &&
-	    !(dst->surface.flags & RADEON_SURF_SCANOUT) &&
 	    (!dst->cmask.size || !dst->dirty_level_mask) && /* dst cannot be fast-cleared */
 	    !dst->dcc_offset) {
 		si_blitter_begin(ctx, SI_COLOR_RESOLVE |
-- 
2.7.4



More information about the mesa-dev mailing list