From: Rob Clark Date: Fri, 31 Jul 2015 14:54:23 +0000 (-0400) Subject: freedreno: fix stream-out caps vec4->components X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c7deea51d2b611564c91e146fbd1ed0b547f65c0;p=mesa.git freedreno: fix stream-out caps vec4->components Should be in units of components, not vec4's Signed-off-by: Rob Clark --- 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. */