diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index c82059f7047..8163aaef3fb 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -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 */