From e3b38e5ec1ba93e3f1a1b3d5039c70ff7aa3ebe6 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Fri, 21 Aug 2009 07:48:04 +0100 Subject: llvmpipe: Code generate the depth test, and include in the shader. Only 32bit depth/stencil surfaces supported for now. Stencil ops not implemented yet. --- src/gallium/drivers/llvmpipe/lp_state_surface.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/gallium/drivers/llvmpipe/lp_state_surface.c') diff --git a/src/gallium/drivers/llvmpipe/lp_state_surface.c b/src/gallium/drivers/llvmpipe/lp_state_surface.c index 1716048b3f..00c61c47ef 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_surface.c +++ b/src/gallium/drivers/llvmpipe/lp_state_surface.c @@ -67,15 +67,9 @@ llvmpipe_set_framebuffer_state(struct pipe_context *pipe, /* zbuf changing? */ if (lp->framebuffer.zsbuf != fb->zsbuf) { - /* flush old */ - lp_flush_tile_cache(lp->zsbuf_cache); - /* assign new */ lp->framebuffer.zsbuf = fb->zsbuf; - /* update cache */ - lp_tile_cache_set_surface(lp->zsbuf_cache, fb->zsbuf); - /* Tell draw module how deep the Z/depth buffer is */ if (lp->framebuffer.zsbuf) { int depth_bits; -- cgit v1.2.3