mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 04:10:10 +01:00
panfrost: Remove old dEQP workaround
Nobody else needs it. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10589>
This commit is contained in:
parent
f5d6a1b916
commit
3ddc7c0e15
1 changed files with 0 additions and 9 deletions
|
|
@ -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 &
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue