test at the end won't do the _tnl_install_attrs because v0 is the same as it was before, even though the tnl code would have changed to emit the specular instead of the pad.
Huh... Well spotted. One possibility is to record the old value of 'index' and use that in addition to the two hardware values.
I've coded up a potential fix for this http://freedesktop.org/~airlied/i830_tris_specfog.diff
it checks if the attrib it is going to emit is different than the previous time and if it is it sets a flag to force the emit to happen..
If you guys think it is acceptable I'll check it in..
It looks ok, it fixes the bug, but I'm not sure it's the cleanest approach. I don't have a better one to hand though, so I'm happy to see it go in.
Keiht
------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel