nv50,nvc0: add explicit handling of PIPE_CAP_MAX_VERTEX_ELEMENT_SRC_OFFSET
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 2 Dec 2018 04:53:00 +0000 (23:53 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 4 Dec 2018 04:11:29 +0000 (23:11 -0500)
commit08c64fe7a1f0edb5bef86480d26508cf5b0f34a8
tree8d358158d72c777351f713cfe4e29a7392cf4503
parentde49e065077fcf26462f1859beafabf5e7a33757
nv50,nvc0: add explicit handling of PIPE_CAP_MAX_VERTEX_ELEMENT_SRC_OFFSET

Since the max attrib stride is 2048, the max src offset makes sense as
2047.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv50/nv50_screen.c
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c