gallium: Fix z clear bug when TILE_CLEAR_OPTIMIZATION==0

This commit is contained in:
Brian 2008-01-31 13:36:00 -07:00 committed by Ben Skeggs
parent 6c59de9a7b
commit 5ee218a021

View file

@ -55,7 +55,9 @@ softpipe_clear(struct pipe_context *pipe, struct pipe_surface *ps,
if (ps == sp_tile_cache_get_surface(softpipe->zsbuf_cache)) {
sp_tile_cache_clear(softpipe->zsbuf_cache, clearValue);
#if TILE_CLEAR_OPTIMIZATION
return;
#endif
}
for (i = 0; i < softpipe->framebuffer.num_cbufs; i++) {