From 5774f164532ac85d213469f688ea87e1da16d444 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 5 Sep 2014 14:38:13 -0700 Subject: 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. --- src/gallium/drivers/vc4/vc4_context.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/vc4/vc4_context.h') diff --git a/src/gallium/drivers/vc4/vc4_context.h b/src/gallium/drivers/vc4/vc4_context.h index c2fdcae231b..b82c08c5ff8 100644 --- a/src/gallium/drivers/vc4/vc4_context.h +++ b/src/gallium/drivers/vc4/vc4_context.h @@ -146,6 +146,7 @@ struct vc4_context { uint32_t resolve; uint32_t clear_color[2]; uint32_t clear_depth; /**< 24-bit unorm depth */ + uint8_t clear_stencil; /** * Set if some drawing (triangles, blits, or just a glClear()) has -- cgit v1.2.3