diff options
author | Marek Olšák <[email protected]> | 2016-06-08 18:52:25 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-06-08 19:21:55 +0200 |
commit | 95288277d5853eff5a52e8cc33610a27ce9241f5 (patch) | |
tree | 8d78d29c2eb5bd2a586e14d77a4a1543fe14a99a /src/gallium/drivers | |
parent | bd5c41fe5fdfbef80959b5738b0372b81bef1f2f (diff) |
Revert "radeonsi: allow direct hw MSAA resolve for scanout surfaces"
This reverts commit ffd54d1936fcd07424265b780e1d049222a01e94.
No, it doesn't work. The test case is "glxgears -samples 2".
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_blit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_blit.c b/src/gallium/drivers/radeonsi/si_blit.c index 23ae382ff23..68d9799d11b 100644 --- a/src/gallium/drivers/radeonsi/si_blit.c +++ b/src/gallium/drivers/radeonsi/si_blit.c @@ -902,6 +902,7 @@ 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 */ /* Resolving into a surface with DCC is unsupported. Since * it's being overwritten anyway, clear it to uncompressed. |