mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
radeonsi/gfx11: reduce MSAA samples to 8 for no-attachment framebuffer
EQAA is unsupported Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22084>
This commit is contained in:
parent
e0d449dd40
commit
281126f1d6
1 changed files with 3 additions and 1 deletions
|
|
@ -2433,7 +2433,9 @@ static bool si_is_format_supported(struct pipe_screen *screen, enum pipe_format
|
|||
/* Chips with 1 RB don't increment occlusion queries at 16x MSAA sample rate,
|
||||
* so don't expose 16 samples there.
|
||||
*/
|
||||
const unsigned max_eqaa_samples = util_bitcount64(sscreen->info.enabled_rb_mask) <= 1 ? 8 : 16;
|
||||
const unsigned max_eqaa_samples =
|
||||
(sscreen->info.gfx_level >= GFX11 ||
|
||||
util_bitcount64(sscreen->info.enabled_rb_mask) <= 1) ? 8 : 16;
|
||||
const unsigned max_samples = 8;
|
||||
|
||||
/* MSAA support without framebuffer attachments. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue