diff options
author | Eric Anholt <[email protected]> | 2014-09-05 14:38:13 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-09-09 07:29:16 -0700 |
commit | 5774f164532ac85d213469f688ea87e1da16d444 (patch) | |
tree | 4de34d1678c1a4755a252186acd8fa36b9ed71e4 /src/gallium/drivers/vc4/vc4_context.c | |
parent | fd6e4fccade0a5e2a4877d01a57c255a47a06200 (diff) |
vc4: Fill out the stencil clear field.
The rest of stencil handling isn't done yet, but it documents an extra
cl_u8(0) and helps make it obvious why we don't need to format clear_depth
the same way the depth/stencil buffer is formatted.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_context.c')
-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 7b9e6f097e9..d14da676334 100644 --- a/src/gallium/drivers/vc4/vc4_context.c +++ b/src/gallium/drivers/vc4/vc4_context.c @@ -59,7 +59,7 @@ vc4_setup_rcl(struct vc4_context *vc4) cl_u32(&vc4->rcl, vc4->clear_color[0]); cl_u32(&vc4->rcl, vc4->clear_color[1]); cl_u32(&vc4->rcl, vc4->clear_depth); - cl_u8(&vc4->rcl, 0); + cl_u8(&vc4->rcl, vc4->clear_stencil); cl_start_reloc(&vc4->rcl, 1); cl_u8(&vc4->rcl, VC4_PACKET_TILE_RENDERING_MODE_CONFIG); |