summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_blit.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-08-12 13:34:53 +0200
committerMarek Olšák <maraeo@gmail.com>2010-08-12 13:35:16 +0200
commitf668ea11bd0b1f662e0be523a4bc46835e011ffa (patch)
treefba0459ec88f09cd95ab780bd535702e658399d5 /src/gallium/drivers/r300/r300_blit.c
parente62e5b0922b6554431234a8a71c7aec7cff91864 (diff)
downloadexternal_mesa3d-f668ea11bd0b1f662e0be523a4bc46835e011ffa.zip
external_mesa3d-f668ea11bd0b1f662e0be523a4bc46835e011ffa.tar.gz
external_mesa3d-f668ea11bd0b1f662e0be523a4bc46835e011ffa.tar.bz2
Revert "u_blitter: unify clear_depth_stencil and flush_depth_stencil"
This reverts commit de4784e36505316c2a5ab34cc5b371d17f38d3c5.
Diffstat (limited to 'src/gallium/drivers/r300/r300_blit.c')
-rw-r--r--src/gallium/drivers/r300/r300_blit.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_blit.c b/src/gallium/drivers/r300/r300_blit.c
index 67e8288..ff52286 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;