Mesa (master): fix span issue with really old ddx and non-tcl r100 chips
Roland Scheidegger
sroland at kemper.freedesktop.org
Thu Oct 16 14:26:02 UTC 2008
Module: Mesa
Branch: master
Commit: 73e119363216b75243dce170f8afd5c2f9bfce50
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=73e119363216b75243dce170f8afd5c2f9bfce50
Author: Roland Scheidegger <sroland at tungstengraphics.com>
Date: Thu Oct 16 16:23:47 2008 +0200
fix span issue with really old ddx and non-tcl r100 chips
---
src/mesa/drivers/dri/radeon/radeon_screen.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c
index 05107dd..5f32dd5 100644
--- a/src/mesa/drivers/dri/radeon/radeon_screen.c
+++ b/src/mesa/drivers/dri/radeon/radeon_screen.c
@@ -900,7 +900,7 @@ radeonCreateScreen( __DRIscreenPrivate *sPriv )
screen->depthHasSurface = (sPriv->ddx_version.major > 4) ||
/* these chips don't use tiled z without hyperz. So always pretend
we have set up a surface which will cause linear reads/writes */
- ((screen->chip_family & RADEON_CLASS_R100) &&
+ (IS_R100_CLASS(screen) &&
!(screen->chip_flags & RADEON_CHIPSET_TCL));
if ( dri_priv->textureSize == 0 ) {
More information about the mesa-commit
mailing list