From f668ea11bd0b1f662e0be523a4bc46835e011ffa Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Thu, 12 Aug 2010 13:34:53 +0200 Subject: Revert "u_blitter: unify clear_depth_stencil and flush_depth_stencil" This reverts commit de4784e36505316c2a5ab34cc5b371d17f38d3c5. --- src/gallium/drivers/r300/r300_blit.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/gallium/drivers/r300/r300_blit.c') diff --git a/src/gallium/drivers/r300/r300_blit.c b/src/gallium/drivers/r300/r300_blit.c index 67e8288440..ff52286b5c 100644 --- a/src/gallium/drivers/r300/r300_blit.c +++ b/src/gallium/drivers/r300/r300_blit.c @@ -279,9 +279,7 @@ void r300_flush_depth_stencil(struct pipe_context *pipe, PIPE_BIND_DEPTH_STENCIL); r300->z_decomp_rd = TRUE; r300_blitter_begin(r300, R300_CLEAR_SURFACE); - util_blitter_clear_depth_stencil(r300->blitter, dstsurf, - PIPE_CLEAR_DEPTH, 0, 0, - 0, 0, dstsurf->width, dstsurf->height); + util_blitter_flush_depth_stencil(r300->blitter, dstsurf); r300_blitter_end(r300); r300->z_decomp_rd = FALSE; -- cgit v1.2.3