diff options
author | José Fonseca <[email protected]> | 2009-08-21 08:55:50 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-08-29 09:21:38 +0100 |
commit | e3baeb3f14bd8b393baa142e6cd9cfe0931a2f3d (patch) | |
tree | 86dab0e8ea79add252a69062f68e0a6f03b77997 /src/gallium/drivers/llvmpipe/lp_clear.c | |
parent | d94fbb4a488986185836464ea28629f8d519f6f5 (diff) |
llvmpipe: Simplify tile clears. Use pipe_fill_rect instead of scratch tile.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_clear.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_clear.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); |