nv50: fix vtxbuf cleanup
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 20 May 2017 08:17:22 +0000 (04:17 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 20 May 2017 08:20:11 +0000 (04:20 -0400)
commit85d21863266ce192a3368ef58f5a17a26ef79c3b
tree93984ce2a265a56a244561d9a6e06cc87a84a9b5
parente781b9e640c7760cb6b255b90ca6d429732f0183
nv50: fix vtxbuf cleanup

Use a user-buffer-aware cleanup function.

Fixes: c24c3b94ed ("gallium: decrease the size of pipe_vertex_buffer - 24 -> 16 bytes")
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv50/nv50_context.c