diff options
author | Timothy Arceri <[email protected]> | 2014-08-19 21:09:58 -1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2014-08-27 20:35:59 -1000 |
commit | 89e6806dea5b0a40747447a333c60183d2d46521 (patch) | |
tree | 3f194b0255603f0074b62a7691b5430404833654 /src/gallium/drivers/i915 | |
parent | 3246e11d33b346f904f441fb1772e9e88f29d214 (diff) |
gallium: add cap for MAX_VERTEX_ATTRIB_STRIDE
Signed-off-by: Timothy Arceri <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/drivers/i915')
-rw-r--r-- | src/gallium/drivers/i915/i915_screen.c | 3 |
1 files changed, 3 insertions, 0 deletions
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: |