From 4dba493fd72b7d5473844e4d799150e16bb3d144 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 8 Aug 2019 09:21:27 -0700 Subject: [PATCH] panfrost: Enable PIPE_CAP_STREAM_OUTPUT_INTERLEAVE_BUFFERS Just as easy/hard as the rest of XFB. Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_screen.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index 5f527d0d3b3..510828ce555 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -121,6 +121,8 @@ panfrost_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_MAX_STREAM_OUTPUT_SEPARATE_COMPONENTS: case PIPE_CAP_MAX_STREAM_OUTPUT_INTERLEAVED_COMPONENTS: return is_deqp ? 64 : 0; + case PIPE_CAP_STREAM_OUTPUT_INTERLEAVE_BUFFERS: + return 1; case PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS: return is_deqp ? 256 : 0; /* for GL3 */ -- 2.30.2