Well, I determined that the problem with the "phantom" tux was that the alpha test was failing. Tux is drawn with texturing disabled and alpha test and alpha blending enabled. I found that by clearing MACH64_TEX_MAP_AEN in scale_3d_cntl when texturing is disabled, it fixes the problem. MACH64_TEX_MAP_AEN indicates that the texture map has an alpha channel, which should be used in the alpha test. Clearing it means to use 0xff as the src alpha for the alpha test, according to the docs. There is also a bit to switch between "Texel Alpha" and "Source Alpha" for the alpha test, but I haven't done enough testing to know if that really works yet. Currently, it's always set to use the texel alpha (which, incidentally is the same way utah-glx did it).
At any rate, tomorrow's build should fix the problems with the phantom tux and also the flickering light cycle and trail gap in gltron with alpha blending enabled. -- Leif Delgass http://www.retinalburn.net _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
