nvc0: don't forget to reset VTX_TMP bufctx slot after blit completion
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 28 Dec 2015 01:44:01 +0000 (20:44 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 28 Dec 2015 02:33:36 +0000 (21:33 -0500)
commit109c348284843054f708f4403260739b7db18275
tree76c4f06b55b1f4ea9d805161233a8577d9f146f5
parent28e07fdd4a4f0f0028e45c9b16e2e8b6fb5e8f53
nvc0: don't forget to reset VTX_TMP bufctx slot after blit completion

Also release the scratch allocation if any.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/nvc0/nvc0_surface.c