Dieter Nützel wrote:
Let me try on r200 ;-)
Some feedback for Roland's hyperz-dri-7.patch and
hyperz-drm-14.patch. => rv path on my r200.
First I've change only drm. -0x1002 0x514C CHIP_R200 "ATI Radeon QL
R200 8500 LE" +0x1002 0x514C CHIP_R200|CHIP_IS_RV "ATI Radeon QL R200
8500 LE"
ok.
- if ((!
(dev_priv->flags&CHIP_IS_RV))&&(dev_priv->microcode_version==UCODE_R200))
+ if
((dev_priv->flags&CHIP_IS_RV)&&(dev_priv->microcode_version==UCODE_R200))
/* r100 and cards without hierarchical z-buffer have no high-level
z-buffer */
You shouldn't need this change in theory, as it should have no effect if
hierarchical-z isn't used. You probably can't change only the CHIP_IS_RV
bit, you need to change dri to not use hierarchical-z at the same time.
+/* if (rmesa->r200Screen->chipset &
R200_CHIPSET_REAL_R200) +
rmesa->hw.ctx.cmd[CTX_RB3D_ZSTENCILCNTL] |=
RADEON_Z_HIERARCHY_ENABLE;*/ }
ok. That really shows that non-rv cards can be treated the same as rv
cards, if hierarchical-z is just disabled. If we can't figure out how to
get hierarchical-z working, this might be an option (it should also
simplify things quite a bit, since hierarchical-z can have issues with
some apps if they change z-test or something like that).
=> * NO 'black horizontal lines' anylonger. - GREAT * but some speed
regression, of course
but it's still faster than without hyperz, yes? It's of course expected
that it is slower than when you got black stripes (since that's because
the depth buffer wasn't cleared, so lots of incoming fragments are just
discarded even though they shouldn't be discarded).
What did you get when using the normal path for your card? No pattern?
Roland
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel