From 580ed13779e1bc1cf52e480c6496bf5266439c46 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Sat, 22 Oct 2022 11:36:23 -0400 Subject: [PATCH] asahi: Stub out MSAA for dEQP Signed-off-by: Alyssa Rosenzweig Part-of: --- src/gallium/drivers/asahi/agx_pipe.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/asahi/agx_pipe.c b/src/gallium/drivers/asahi/agx_pipe.c index 8db3a4eff78..9bc04205230 100644 --- a/src/gallium/drivers/asahi/agx_pipe.c +++ b/src/gallium/drivers/asahi/agx_pipe.c @@ -1626,7 +1626,9 @@ agx_is_format_supported(struct pipe_screen *pscreen, enum pipe_format format, target == PIPE_TEXTURE_3D || target == PIPE_TEXTURE_CUBE || target == PIPE_TEXTURE_CUBE_ARRAY); - if (sample_count > 1) + bool is_deqp = agx_device(pscreen)->debug & AGX_DBG_DEQP; + + if (sample_count > 1 && !(sample_count == 4 && is_deqp)) return false; if (MAX2(sample_count, 1) != MAX2(storage_sample_count, 1))