OSDN Git Service

nv50: rebind bo to bufctx when invalidating idxbuf storage
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 4 Jul 2015 00:16:48 +0000 (20:16 -0400)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 6 Sep 2015 18:08:22 +0000 (19:08 +0100)
commit747e1b03bfac3e32878a6f68002b5bb83194fad3
tree95a2521764bdb1d9b264e22d7000b5538d66a639
parentb85ec1e34b317accd7f69bb5f23bf9a7a8d84561
nv50: rebind bo to bufctx when invalidating idxbuf storage

There is nothing to be done on a dirty idxbuf, but the bo may have
changed, so we have to rebind it to the bufctx.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
(cherry picked from commit 1f62d36ae21043c472fc182fd4b738ec1d54a2d2)
src/gallium/drivers/nouveau/nv50/nv50_context.c