From 4f63b21df0495607a0e27761909a8f3264e27d93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 2 Jan 2025 11:38:32 -0500 Subject: [PATCH] ac/nir: drop 16x EQAA support from ac_get_ps_iter_mask MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We don't support 16x EQAA anymore. Reviewed-by: Timur Kristóf Part-of: --- src/amd/common/ac_shader_util.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/amd/common/ac_shader_util.c b/src/amd/common/ac_shader_util.c index 72a53a930e4..5d9f622dd4c 100644 --- a/src/amd/common/ac_shader_util.c +++ b/src/amd/common/ac_shader_util.c @@ -664,11 +664,10 @@ uint16_t ac_get_ps_iter_mask(unsigned ps_iter_samples) * processing. */ switch (ps_iter_samples) { - case 1: return 0xffff; - case 2: return 0x5555; - case 4: return 0x1111; - case 8: return 0x0101; - case 16: return 0x0001; + case 1: return 0xff; + case 2: return 0x55; + case 4: return 0x11; + case 8: return 0x01; default: unreachable("invalid sample count"); }