From 5bb2059be714c09bd0fbc9aebd7dabf1ba3e63b6 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 11 Mar 2012 18:31:32 -0600 Subject: radeon/r200: remove hyperz/fast clear testing code The flags which were computed were never actually used. Reviewed-by: Dave Airlie --- src/mesa/drivers/dri/r200/r200_ioctl.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/mesa/drivers/dri/r200') diff --git a/src/mesa/drivers/dri/r200/r200_ioctl.c b/src/mesa/drivers/dri/r200/r200_ioctl.c index e3570c2a08a..e548fac3283 100644 --- a/src/mesa/drivers/dri/r200/r200_ioctl.c +++ b/src/mesa/drivers/dri/r200/r200_ioctl.c @@ -98,16 +98,6 @@ static void r200Clear( struct gl_context *ctx, GLbitfield mask ) if ( !flags ) return; - if (rmesa->using_hyperz) { - flags |= RADEON_USE_COMP_ZBUF; -/* if (rmesa->radeon.radeonScreen->chip_family == CHIP_FAMILY_R200) - flags |= RADEON_USE_HIERZ; */ - if (!((flags & RADEON_DEPTH) && (flags & RADEON_STENCIL) && - ((rmesa->radeon.state.stencil.clear & R200_STENCIL_WRITE_MASK) == R200_STENCIL_WRITE_MASK))) { - flags |= RADEON_CLEAR_FASTZ; - } - } - radeonUserClear(ctx, orig_mask); } -- cgit v1.2.3