mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 16:20:13 +01:00
panfrost: Enable MSAA on bifrost when deqp debug option is set
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7653>
This commit is contained in:
parent
fc93eb7281
commit
4d0cd48fab
1 changed files with 2 additions and 1 deletions
|
|
@ -436,6 +436,7 @@ panfrost_is_format_supported( struct pipe_screen *screen,
|
|||
{
|
||||
struct panfrost_device *dev = pan_device(screen);
|
||||
bool is_bifrost = (dev->quirks & IS_BIFROST);
|
||||
bool is_deqp = dev->debug & PAN_DBG_DEQP;
|
||||
const struct util_format_description *format_desc;
|
||||
|
||||
assert(target == PIPE_BUFFER ||
|
||||
|
|
@ -464,7 +465,7 @@ panfrost_is_format_supported( struct pipe_screen *screen,
|
|||
return false;
|
||||
|
||||
/* Don't advertise multisampling on Bifrost yet */
|
||||
if (is_bifrost && sample_count > 1)
|
||||
if ((is_bifrost && !is_deqp) && sample_count > 1)
|
||||
return false;
|
||||
|
||||
/* Z16 causes dEQP failures on t720 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue