From e3baeb3f14bd8b393baa142e6cd9cfe0931a2f3d Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Fri, 21 Aug 2009 08:55:50 +0100 Subject: llvmpipe: Simplify tile clears. Use pipe_fill_rect instead of scratch tile. --- src/gallium/drivers/llvmpipe/lp_clear.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/gallium/drivers/llvmpipe/lp_clear.c') diff --git a/src/gallium/drivers/llvmpipe/lp_clear.c b/src/gallium/drivers/llvmpipe/lp_clear.c index c3e62e823d2..7f0fb1f2156 100644 --- a/src/gallium/drivers/llvmpipe/lp_clear.c +++ b/src/gallium/drivers/llvmpipe/lp_clear.c @@ -75,7 +75,6 @@ llvmpipe_clear(struct pipe_context *pipe, unsigned buffers, const float *rgba, } if (buffers & PIPE_CLEAR_DEPTHSTENCIL) { - static const float zero[4] = { 0.0F, 0.0F, 0.0F, 0.0F }; struct pipe_surface *ps = llvmpipe->framebuffer.zsbuf; cv = util_pack_z_stencil(ps->format, depth, stencil); -- cgit v1.2.3