nv30: hack to avoid errors on unexpected color/zeta combinations
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 18 Jun 2014 03:28:56 +0000 (23:28 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 19 Jun 2014 05:05:52 +0000 (01:05 -0400)
commit25182e249e50b0fce41d975ae2b3c9cbdb8d0ef3
tree67468dddbdd102f2cea0e9c346042512f6346e8f
parente1fe1435b14500f41567348010d5f312c475778f
nv30: hack to avoid errors on unexpected color/zeta combinations

This is just a hack, it should be possible to create a temporary zeta
surface and render to that instead. However that's more complicated and
this avoids the render being entirely broken and errors being reported
by the card.

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