nvc0: do not clear surfaces bins in the validate function
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 5 Jun 2016 16:53:26 +0000 (18:53 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 5 Jun 2016 17:02:59 +0000 (19:02 +0200)
commitbe365f34f04112572550337f387b61ed1ba69acd
treeadf3fc5032efcb7dcd96028d8fc7e2b3a01c2147
parent43d3ecfb338d79d9f0ccae22b316653af461032a
nvc0: do not clear surfaces bins in the validate function

We should not call nouveau_bufctx_reset() inside a validate function.
This only affects Fermi where images are aliased between 3D and CP.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/nvc0/nvc0_compute.c
src/gallium/drivers/nouveau/nvc0/nvc0_tex.c