Patch against the trunk is at http://penguinppc.org/~daenzer/DRI/radeon-ppc.diff
Requests for comments before I commit: - I got bitten by the ASSERT in extras/Mesa/src/tnl_dd/t_dd_vbtmp.h when I had debugging enabled there, but is this the correct fix? - The fprintf in lib/GL/mesa/src/drv/radeon/radeon_tris.c should probably rather be guarded by some debugging test? - Is this a good way to detect endianness? And there's probably a better place for the BE_SWAP32 definitions? - I changed radeon_flush_write_combine in programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/radeon_drv.h as suggested by Benjamin Herrenschmidt, does this work everywhere? The last outstanding arch-dependent issue is broken fog, as seen in http://penguinppc.org/~daenzer/DRI/csmash.jpeg (the fog is supposed to be almost invisible). I'd appreciate any pointers where to look for this. I thought this was related to another issue, but it turns out that one shows up on x86 as well: Wrong shading/lighting of (some) clipped objects, as seen in http://penguinppc.org/~daenzer/DRI/fsv.jpeg (the left box is supposed to be the same color as the right one). This is fixed in the current r128 driver (but it draws lines which should be invisible), the Mesa 3.4 based one was also broken. On the other hand, http://penguinppc.org/~daenzer/DRI/gears.jpeg is still present in r128 as well. Another arch-independent issue I found is that sometimes parts of objects aren't rendered (correctly), as seen in http://penguinppc.org/~daenzer/DRI/morph3d.jpeg and http://penguinppc.org/~daenzer/DRI/armagetron.jpeg (both trails are supposed to look like the right part of the red one). Dunno if it's related but I saw a similar, if much worse effect until I fixed EMIT_TWO_ELTS in lib/GL/mesa/src/drv/radeon/radeon_render.c. Last, but not least, there's an off-by-one error (?) with textures, as seen in http://penguinppc.org/~daenzer/DRI/evas_test.jpeg and http://penguinppc.org/~daenzer/DRI/celestia.jpeg . I'm going to try the TCL branch to see if those are still there. -- Earthling Michel D�nzer (MrCooper)/ Debian GNU/Linux (powerpc) developer XFree86 and DRI project member / CS student, Free Software enthusiast _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
