From f097516505daaaf5c25c919d56cbce54eb441a48 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Sat, 9 Aug 2014 11:00:51 -0700 Subject: [PATCH] vc4: Don't forget to set the depth clear value in the packet. This gets glxgears partially rendering again. --- src/gallium/drivers/vc4/vc4_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2