nv50,nvc0: respect render condition enable flag when clearing rt/zs
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 3 Sep 2016 03:57:06 +0000 (23:57 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 3 Sep 2016 04:01:07 +0000 (00:01 -0400)
commit163a029eba9aa73e3c0b624a3067218a01a3e47b
treea542033d2284c0bb443e22dee30189e2ede6ee26
parentd0cf7a6beb4470d945bccb4e753cc7eb6ca5dda8
nv50,nvc0: respect render condition enable flag when clearing rt/zs

This is a newly added flag. We always pass false into it from
nv50_clear_texture, but other callers may want to respect the render
condition. (And the functions were originally spec'd to respect it.)

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv50/nv50_surface.c
src/gallium/drivers/nouveau/nvc0/nvc0_surface.c