From 89e6806dea5b0a40747447a333c60183d2d46521 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Tue, 19 Aug 2014 21:09:58 -1000 Subject: gallium: add cap for MAX_VERTEX_ATTRIB_STRIDE Signed-off-by: Timothy Arceri Reviewed-by: Roland Scheidegger --- src/gallium/drivers/freedreno/freedreno_screen.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/drivers/freedreno') diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index ab1a7402120..34594aebc4f 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -233,6 +233,9 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_MAX_VERTEX_STREAMS: return 0; + case PIPE_CAP_MAX_VERTEX_ATTRIB_STRIDE: + return 2048; + /* Texturing. */ case PIPE_CAP_MAX_TEXTURE_2D_LEVELS: case PIPE_CAP_MAX_TEXTURE_3D_LEVELS: -- cgit v1.2.3