nv50,nvc0: clear internal vbo masks based on the trailing slots
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 5 Feb 2021 16:08:40 +0000 (11:08 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 5 Feb 2021 21:37:51 +0000 (21:37 +0000)
commit021bc4f868308630df6f8311db3932046219d086
tree02e3a631d0674d880590c0cb43ce1f839f03a3bd
parenteff837c7c2de627545dd9197d09f6ff337e68456
nv50,nvc0: clear internal vbo masks based on the trailing slots

Fixes: 0278d1fa323c (gallium: add unbind_num_trailing_slots to set_vertex_buffers)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8882>
src/gallium/drivers/nouveau/nv50/nv50_state.c
src/gallium/drivers/nouveau/nvc0/nvc0_state.c