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/i915/i915_screen.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/drivers/i915/i915_screen.c') diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index 40976b3cb7d..24e444f1ca4 100644 --- a/src/gallium/drivers/i915/i915_screen.c +++ b/src/gallium/drivers/i915/i915_screen.c @@ -275,6 +275,9 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap) case PIPE_CAP_MAX_VERTEX_STREAMS: return 0; + case PIPE_CAP_MAX_VERTEX_ATTRIB_STRIDE: + return 2048; + /* Fragment coordinate conventions. */ case PIPE_CAP_TGSI_FS_COORD_ORIGIN_UPPER_LEFT: case PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_HALF_INTEGER: -- cgit v1.2.3