diff options
author | Mathias Fröhlich <[email protected]> | 2018-09-06 16:13:42 +0200 |
---|---|---|
committer | Mathias Fröhlich <[email protected]> | 2018-09-10 07:59:31 +0200 |
commit | 2fece204c02e437811732c223cd158f82c4dd916 (patch) | |
tree | 489a2b082ecdc3ec6b66f091a98fc209840f3ee5 /src/gallium/drivers/etnaviv | |
parent | 4569bc6ad084eac392411117ad1fd3bd0706af75 (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')
-rw-r--r-- | src/gallium/drivers/etnaviv/etnaviv_screen.c | 2 |
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: |