diff options
author | Eric Anholt <[email protected]> | 2014-08-09 11:00:51 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-08-11 14:47:54 -0700 |
commit | f097516505daaaf5c25c919d56cbce54eb441a48 (patch) | |
tree | 45e829465182201ad5a5b48119be0f32be3b89bb /src/gallium | |
parent | e63598aecb5d1cc2a20b8db1ef85790e301f4241 (diff) |
vc4: Don't forget to set the depth clear value in the packet.
This gets glxgears partially rendering again.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |