projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd5c41f
)
Revert "radeonsi: allow direct hw MSAA resolve for scanout surfaces"
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 8 Jun 2016 16:52:25 +0000
(18:52 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 8 Jun 2016 17:21:55 +0000
(19:21 +0200)
This reverts commit
ffd54d1936fcd07424265b780e1d049222a01e94
.
No, it doesn't work. The test case is "glxgears -samples 2".
src/gallium/drivers/radeonsi/si_blit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_blit.c
b/src/gallium/drivers/radeonsi/si_blit.c
index 23ae382ff239b3aa7870368281ddee0ad1f477fe..68d9799d11b33b260391796b57a183cd00ba16dc 100644
(file)
--- 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.