summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_clear.c
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-08-21 09:51:44 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-08-29 09:21:39 +0100
commitf10ee9a0a1f75dfbf4f2ed1407b55a2511b61a48 (patch)
tree3d5dc7bb7aa58ba57587c98f80892b56c0746444 /src/gallium/drivers/llvmpipe/lp_clear.c
parent87c383a2e5cbd026966e29c4a869617d4d4da255 (diff)
llvmpipe: Don't limit the number of tiles in the cache.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_clear.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_clear.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_clear.c b/src/gallium/drivers/llvmpipe/lp_clear.c
index 7f0fb1f2156..580cca5b463 100644
--- a/src/gallium/drivers/llvmpipe/lp_clear.c
+++ b/src/gallium/drivers/llvmpipe/lp_clear.c
@@ -66,11 +66,6 @@ llvmpipe_clear(struct pipe_context *pipe, unsigned buffers, const float *rgba,
util_pack_color(rgba, ps->format, &cv);
lp_tile_cache_clear(llvmpipe->cbuf_cache[i], rgba, cv);
-
-#if !TILE_CLEAR_OPTIMIZATION
- /* non-cached surface */
- pipe->surface_fill(pipe, ps, 0, 0, ps->width, ps->height, cv);
-#endif
}
}