mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 13:40:11 +01:00
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:
parent
9468f0729b
commit
bad6fc4871
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue