mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 13:10:10 +01:00
radeon/r200: remove hyperz/fast clear testing code
The flags which were computed were never actually used. Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
5ac910c014
commit
5bb2059be7
2 changed files with 0 additions and 20 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue