nv50,nvc0: buffer resources can be bound as other things down the line
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 15 Nov 2014 20:43:22 +0000 (15:43 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 23 Nov 2014 20:43:28 +0000 (15:43 -0500)
commitfecae4625cf9a132bb3fbfeaadbbf3db68be6024
treeb2c2a8dd7b2f19d34ed8138e2f12d52c95d7e514
parente80a0a7d9a02fe12dedfb2e221358af620759c28
nv50,nvc0: buffer resources can be bound as other things down the line

res->bind is not an indicator of how the resource is currently bound.
buffers can be rebound across different binding points without changing
underlying storage.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.4 10.3" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/nv50/nv50_context.c
src/gallium/drivers/nouveau/nvc0/nvc0_context.c