OSDN Git Service

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)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 14 Jun 2016 14:48:37 +0000 (15:48 +0100)
commit954829ebbb5c926aa5f43a740dfe6638fd8c7b3c
tree94a09f41907858719115691986aa7cc0ab171dba
parentf12a16ec991c86f7a6cb4be0d28cf2d2d858d1d0
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>
(cherry picked from commit be365f34f04112572550337f387b61ed1ba69acd)
src/gallium/drivers/nouveau/nvc0/nvc0_compute.c
src/gallium/drivers/nouveau/nvc0/nvc0_tex.c