panfrost: Mark 64-bit formats as unsupported

There is no hardware support for these formats, but some games use
them for vertex data.

This fixes a crash in Aleph One.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4292>
This commit is contained in:
Icecream95 2020-03-24 12:42:42 +13:00 committed by Marge Bot
parent 9468f0729b
commit bad6fc4871

View file

@ -488,6 +488,9 @@ panfrost_is_format_supported( struct pipe_screen *screen,
return false;
}
if (format_desc->channel[0].size > 32)
return false;
/* Internally, formats that are depth/stencil renderable are limited.
*
* In particular: Z16, Z24, Z24S8, S8 are all identical from the GPU