mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 01:38:06 +02:00
radeonsi: allow direct hw MSAA resolve for scanout surfaces
No idea why this was disabled, but it works fine. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
4be46c7d9d
commit
ffd54d1936
1 changed files with 0 additions and 1 deletions
|
|
@ -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 |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue