mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
radeonsi: disable DCC MSAA for 128bpp formats on Stoney
Cc: 18.1 <mesa-stable@lists.freedesktop.org> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
6764aae169
commit
587e712eda
1 changed files with 5 additions and 0 deletions
|
|
@ -273,6 +273,11 @@ static int si_init_surface(struct si_screen *sscreen,
|
|||
(ptex->nr_samples >= 2 && !sscreen->dcc_msaa_allowed)))
|
||||
flags |= RADEON_SURF_DISABLE_DCC;
|
||||
|
||||
/* Stoney: 128bpp MSAA textures randomly fail piglit tests with DCC. */
|
||||
if (sscreen->info.family == CHIP_STONEY &&
|
||||
bpe == 16 && ptex->nr_samples >= 2)
|
||||
flags |= RADEON_SURF_DISABLE_DCC;
|
||||
|
||||
/* VI: DCC clear for 4x and 8x MSAA array textures unimplemented. */
|
||||
if (sscreen->info.chip_class == VI &&
|
||||
num_color_samples >= 4 &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue