nvc0: allow a non-user buffer to be bound at position 0
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 26 Jul 2019 03:27:56 +0000 (23:27 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 27 Jul 2019 22:24:11 +0000 (18:24 -0400)
commit9f8ed5aa6783a3dabefa96fe68d0367703dec91c
treefe573e494dceb1e627841c9c9e0e69a1b48559fe
parentc52b057e003b18a5f3248b2cfe2aae4c8d57197e
nvc0: allow a non-user buffer to be bound at position 0

Previously the code only handled it for positions 1 and up (as would be
for UBO's in GL). It's not a lot of trouble to handle this, and vl or
vdpau want this.

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/nvc0/nve4_compute.c