From 070a9afb5476b58a2824fac5c94bbe4f78a2d8b9 Mon Sep 17 00:00:00 2001 From: Roland Scheidegger Date: Sat, 18 May 2013 00:16:03 +0200 Subject: llvmpipe: handle z32s8x24 depth/stencil format We need to split up the depth and stencil values in this case, and there's some new logic required to handle float depth and stencil simultaneously. Also make sure we get the 64bit zs clear values and masks propagated correctly. --- src/gallium/drivers/llvmpipe/lp_rast.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gallium/drivers/llvmpipe/lp_rast.h') diff --git a/src/gallium/drivers/llvmpipe/lp_rast.h b/src/gallium/drivers/llvmpipe/lp_rast.h index 2f5fa227619..8dd3615e78a 100644 --- a/src/gallium/drivers/llvmpipe/lp_rast.h +++ b/src/gallium/drivers/llvmpipe/lp_rast.h @@ -154,8 +154,8 @@ union lp_rast_cmd_arg { const struct lp_rast_state *set_state; union pipe_color_union clear_color; struct { - uint32_t value; - uint32_t mask; + uint64_t value; + uint64_t mask; } clear_zstencil; const struct lp_rast_state *state; struct lp_fence *fence; @@ -217,7 +217,7 @@ lp_rast_arg_fence( struct lp_fence *fence ) static INLINE union lp_rast_cmd_arg -lp_rast_arg_clearzs( unsigned value, unsigned mask ) +lp_rast_arg_clearzs( uint64_t value, uint64_t mask ) { union lp_rast_cmd_arg arg; arg.clear_zstencil.value = value; -- cgit v1.2.3