Hello,
it looks as ctx->Color.AlphaEnabled isn't set,
at least not in glMaterialfv() (or at all?).
So in VTXFMT Mode, RADEON_CP_VC_FRMT_FPALPHA isnt added to "ind",
and so some programs dont look as good as they do when
NO_VTXFMT=1 is set.
(exaple: arkhart-demo http://arkhart.nekeme.net/en/ or
petroleo.zip, which showed also the vertex-corruption)

Or is it a bug in the program, that it didnt enable GL_ALPHA
explicitly? (If yes: why does it work "right"
in non-vtxfmt-mode and what should be done?)

This (bogus) patch helps when you export FORCE_ALPHA=1
before running arkhart-demo/petroleo.

--- radeon_vtxfmt.c_orig        Sun Mar 30 09:19:20 2003
+++ radeon_vtxfmt.c     Sun Mar 30 13:19:57 2003
@@ -572,7 +572,7 @@
        */
       if (ctx->Light.ColorMaterialEnabled) {
         ind |= RADEON_CP_VC_FRMT_FPCOLOR;
-         if (ctx->Color.AlphaEnabled) {
+         if (ctx->Color.AlphaEnabled || getenv("FORCE_ALPHA")) {
            ind |= RADEON_CP_VC_FRMT_FPALPHA;
          }
       }


------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to