From 3ddc7c0e155decb250eb145267a138e17d152add Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 3 May 2021 11:14:19 -0400 Subject: [PATCH] panfrost: Remove old dEQP workaround Nobody else needs it. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/gallium/drivers/panfrost/pan_screen.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index ebe6a17c019..df14f65ebeb 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -514,15 +514,6 @@ panfrost_is_format_supported( struct pipe_screen *screen, if (format == PIPE_FORMAT_Z16_UNORM && dev->quirks & MIDGARD_SFBD) return false; - /* Don't confuse poorly written apps (workaround dEQP bug) that expect - * more alpha than they ask for */ - - bool scanout = bind & (PIPE_BIND_SCANOUT | PIPE_BIND_SHARED | PIPE_BIND_DISPLAY_TARGET); - bool renderable = bind & PIPE_BIND_RENDER_TARGET; - - if (scanout && renderable && !util_format_is_rgba8_variant(format_desc)) - return false; - /* Check we support the format with the given bind */ unsigned relevant_bind = bind &