nv50,nvc0: update sampler/view bind functions to accept NULL array
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 26 Jul 2019 03:26:46 +0000 (23:26 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 27 Jul 2019 22:24:11 +0000 (18:24 -0400)
commitc52b057e003b18a5f3248b2cfe2aae4c8d57197e
tree90aef3a69e12ef1ee4abb634d7dd465231b92320
parentface27fdc5293606faf38f91cc6235b2b3fc6071
nv50,nvc0: update sampler/view bind functions to accept NULL array

Apparently vl (or vdpau) wants to pass that in now. Handle it.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111213
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Cc: mesa-stable@lists.freedesktop.org
src/gallium/drivers/nouveau/nv50/nv50_state.c
src/gallium/drivers/nouveau/nvc0/nvc0_state.c