nouveau: only enable the depth test if there actually is a depth buffer
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 15 Aug 2014 05:25:06 +0000 (01:25 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 12 Sep 2014 04:50:56 +0000 (00:50 -0400)
commit79959e5de518c59b327a9df4a6fa80a68213b873
tree75986af6186e4de7c027dd2ac07d4b8bc3c6d041
parent8ab85bfcd5ddd44c50e5b384222731cb2a1a1496
nouveau: only enable the depth test if there actually is a depth buffer

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.2 10.3" <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/dri/nouveau/nv04_state_fb.c
src/mesa/drivers/dri/nouveau/nv04_state_raster.c
src/mesa/drivers/dri/nouveau/nv10_state_fb.c
src/mesa/drivers/dri/nouveau/nv10_state_raster.c
src/mesa/drivers/dri/nouveau/nv20_state_fb.c