From: Eric Anholt Date: Sat, 9 Aug 2014 18:00:51 +0000 (-0700) Subject: vc4: Don't forget to set the depth clear value in the packet. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f097516505daaaf5c25c919d56cbce54eb441a48;p=mesa.git vc4: Don't forget to set the depth clear value in the packet. This gets glxgears partially rendering again. --- diff --git a/src/gallium/drivers/vc4/vc4_context.c b/src/gallium/drivers/vc4/vc4_context.c index ffcbbb27d5b..8ca40310663 100644 --- a/src/gallium/drivers/vc4/vc4_context.c +++ b/src/gallium/drivers/vc4/vc4_context.c @@ -105,7 +105,7 @@ vc4_setup_rcl(struct vc4_context *vc4) cl_u8(&vc4->rcl, VC4_PACKET_CLEAR_COLORS); cl_u32(&vc4->rcl, vc4->clear_color[0]); cl_u32(&vc4->rcl, vc4->clear_color[1]); - cl_u32(&vc4->rcl, 0); + cl_u32(&vc4->rcl, vc4->clear_depth); cl_u8(&vc4->rcl, 0); cl_start_reloc(&vc4->rcl, 1);