mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-07 05:50:29 +01:00
radeonsi: don't expose no-attachment MSAA 16x on all 1 RB chips due to issues
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11900>
(cherry picked from commit 86ff5b7ddb)
This commit is contained in:
parent
8653cbd0aa
commit
2193a19631
2 changed files with 2 additions and 2 deletions
|
|
@ -895,7 +895,7 @@
|
|||
"description": "radeonsi: don't expose no-attachment MSAA 16x on all 1 RB chips due to issues",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2257,7 +2257,7 @@ 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 = sscreen->info.max_render_backends == 1 ? 8 : 16;
|
||||
const unsigned max_eqaa_samples = util_bitcount(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