From c7deea51d2b611564c91e146fbd1ed0b547f65c0 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Fri, 31 Jul 2015 10:54:23 -0400 Subject: [PATCH] freedreno: fix stream-out caps vec4->components Should be in units of components, not vec4's Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/freedreno_screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index 97e4161ede2..bab6131678b 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -236,11 +236,11 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return 0; case PIPE_CAP_MAX_STREAM_OUTPUT_SEPARATE_COMPONENTS: if (is_a3xx(screen) || is_a4xx(screen)) - return 16; /* should only be shader out limit? */ + return 16 * 4; /* should only be shader out limit? */ return 0; case PIPE_CAP_MAX_STREAM_OUTPUT_INTERLEAVED_COMPONENTS: if (is_a3xx(screen) || is_a4xx(screen)) - return 16; /* should only be shader out limit? */ + return 16 * 4; /* should only be shader out limit? */ return 0; /* Geometry shader output, unsupported. */ -- 2.30.2