From 2fece204c02e437811732c223cd158f82c4dd916 Mon Sep 17 00:00:00 2001 From: Mathias Fröhlich Date: Thu, 6 Sep 2018 16:13:42 +0200 Subject: etnaviv: Reduce max offset to available hardware bits. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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(+) (limited to 'src/gallium/drivers/etnaviv') 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: -- cgit v1.2.3