etnaviv: Expose faked xfb support when DEQP debug flag is enabled

Makes running deqp easier on GPUs without HWTFB.

Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37673>
This commit is contained in:
Christian Gmeiner 2025-10-02 22:51:25 +02:00 committed by Marge Bot
parent 29d30c6f3d
commit b78c6bda21

View file

@ -257,7 +257,7 @@ etna_init_screen_caps(struct etna_screen *screen)
caps->texrect = false;
/* Stream output. */
caps->max_stream_output_buffers = VIV_FEATURE(screen, ETNA_FEATURE_HWTFB) ? 4 : 0;
caps->max_stream_output_buffers = VIV_FEATURE(screen, ETNA_FEATURE_HWTFB) || DBG_ENABLED(ETNA_DBG_DEQP) ? 4 : 0;
caps->max_stream_output_separate_components = 64;
caps->max_stream_output_interleaved_components = 64;