diff options
author | Brian Paul <[email protected]> | 2012-03-11 18:31:32 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-03-12 11:40:43 -0600 |
commit | 5bb2059be714c09bd0fbc9aebd7dabf1ba3e63b6 (patch) | |
tree | d1b68d52c504be40ecadd4a875d281f321d2f3ba /src/mesa/drivers/dri/radeon | |
parent | 5ac910c0146ca852566ad0328301b2d40f8f5e54 (diff) |
radeon/r200: remove hyperz/fast clear testing code
The flags which were computed were never actually used.
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_ioctl.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_ioctl.c b/src/mesa/drivers/dri/radeon/radeon_ioctl.c index 434f2b61c7a..22118a78404 100644 --- a/src/mesa/drivers/dri/radeon/radeon_ioctl.c +++ b/src/mesa/drivers/dri/radeon/radeon_ioctl.c @@ -423,16 +423,6 @@ static void radeonClear( struct gl_context *ctx, GLbitfield mask ) if ( !flags ) return; - if (rmesa->using_hyperz) { - flags |= RADEON_USE_COMP_ZBUF; -/* if (rmesa->radeon.radeonScreen->chipset & RADEON_CHIPSET_TCL) - flags |= RADEON_USE_HIERZ; */ - if (((flags & RADEON_DEPTH) && (flags & RADEON_STENCIL) && - ((rmesa->radeon.state.stencil.clear & RADEON_STENCIL_WRITE_MASK) == RADEON_STENCIL_WRITE_MASK))) { - flags |= RADEON_CLEAR_FASTZ; - } - } - radeonUserClear(ctx, orig_mask); } |