summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/etnaviv/etnaviv_screen.c
diff options
context:
space:
mode:
authorMathias Fröhlich <[email protected]>2018-09-06 16:13:42 +0200
committerMathias Fröhlich <[email protected]>2018-09-10 07:59:31 +0200
commit2fece204c02e437811732c223cd158f82c4dd916 (patch)
tree489a2b082ecdc3ec6b66f091a98fc209840f3ee5 /src/gallium/drivers/etnaviv/etnaviv_screen.c
parent4569bc6ad084eac392411117ad1fd3bd0706af75 (diff)
etnaviv: Reduce max offset to available hardware bits.
Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]> Signed-off-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_screen.c')
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_screen.c b/src/gallium/drivers/etnaviv/etnaviv_screen.c
index d838cd28c88..fb51aa5f4e8 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_screen.c
+++ b/src/gallium/drivers/etnaviv/etnaviv_screen.c
@@ -310,6 +310,8 @@ etna_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_MAX_VERTEX_ATTRIB_STRIDE:
return 128;
+ case PIPE_CAP_MAX_VERTEX_ELEMENT_SRC_OFFSET:
+ return 255;
/* Texturing. */
case PIPE_CAP_MAX_TEXTURE_2D_LEVELS: