mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 12:00:12 +01:00
panfrost: Don't advertise MSAA on Bifrost
Not yet supported and rather broken. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7206>
This commit is contained in:
parent
f0e65805cb
commit
3cdca1514f
1 changed files with 5 additions and 0 deletions
|
|
@ -436,6 +436,7 @@ panfrost_is_format_supported( struct pipe_screen *screen,
|
|||
unsigned bind)
|
||||
{
|
||||
struct panfrost_device *dev = pan_device(screen);
|
||||
bool is_bifrost = (dev->quirks & IS_BIFROST);
|
||||
const struct util_format_description *format_desc;
|
||||
|
||||
assert(target == PIPE_BUFFER ||
|
||||
|
|
@ -463,6 +464,10 @@ panfrost_is_format_supported( struct pipe_screen *screen,
|
|||
if (MAX2(sample_count, 1) != MAX2(storage_sample_count, 1))
|
||||
return false;
|
||||
|
||||
/* Don't advertise multisampling on Bifrost yet */
|
||||
if (is_bifrost && sample_count > 1)
|
||||
return false;
|
||||
|
||||
/* Don't confuse poorly written apps (workaround dEQP bug) that expect
|
||||
* more alpha than they ask for */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue