diff options
author | Timothy Arceri <t_arceri@yahoo.com.au> | 2014-08-19 21:09:58 -1000 |
---|---|---|
committer | Timothy Arceri <t_arceri@yahoo.com.au> | 2014-08-27 20:35:59 -1000 |
commit | 89e6806dea5b0a40747447a333c60183d2d46521 (patch) | |
tree | 3f194b0255603f0074b62a7691b5430404833654 /src/gallium/drivers/nouveau/nv50/nv50_screen.c | |
parent | 3246e11d33b346f904f441fb1772e9e88f29d214 (diff) |
gallium: add cap for MAX_VERTEX_ATTRIB_STRIDE
Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Diffstat (limited to 'src/gallium/drivers/nouveau/nv50/nv50_screen.c')
-rw-r--r-- | src/gallium/drivers/nouveau/nv50/nv50_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_screen.c b/src/gallium/drivers/nouveau/nv50/nv50_screen.c index 99dcdc5925..abc34070d2 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_screen.c +++ b/src/gallium/drivers/nouveau/nv50/nv50_screen.c @@ -117,6 +117,8 @@ nv50_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return 1024; case PIPE_CAP_MAX_VERTEX_STREAMS: return 1; + case PIPE_CAP_MAX_VERTEX_ATTRIB_STRIDE: + return 2048; case PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT: return 256; case PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT: |