From 2fece204c02e437811732c223cd158f82c4dd916 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mathias=20Fr=C3=B6hlich?= Date: Thu, 6 Sep 2018 16:13:42 +0200 Subject: [PATCH] etnaviv: Reduce max offset to available hardware bits. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Brian Paul Reviewed-by: Roland Scheidegger Signed-off-by: Mathias Fröhlich --- src/gallium/drivers/etnaviv/etnaviv_screen.c | 2 ++ 1 file changed, 2 insertions(+) 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: -- 2.30.2