diff options
author | Rob Clark <[email protected]> | 2015-07-31 10:54:23 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2015-08-04 16:03:45 -0400 |
commit | c7deea51d2b611564c91e146fbd1ed0b547f65c0 (patch) | |
tree | 5f08844df47eaf662707cf300a7780f26eaf5bb3 /src/gallium/drivers | |
parent | a221f8d9ebb4ef43a83ef638458d1338dfe1e517 (diff) |
freedreno: fix stream-out caps vec4->components
Should be in units of components, not vec4's
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_screen.c | 4 |
1 files 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. */ |