Dave,
On Wed, Jun 09, 2004 at 06:48:10AM +0100, Dave Airlie wrote:
This file is pretty much a copy of tnl_dd/t_dd_vbtmp.h with what looks like some experimental MACH64_PREMULT_TEXCOORDS code I think,
Is this experiment finished? the code isn't use as mach64 has a native vertex format code.. that is still faster..
The time order is actually inverse: first there was mach64_vbtmp.h (adapted from t_dd_vbtmp.h), and then the experiment of native vertex format (almost a complete rewrite) was made sucessfully, i.e., with speed increase. The old code wasn't removed immediatly for regression testing, but it eventually was forgotten. I'm confident it can be removed now.
Could t_vertex be used for the native vertex format code?
I'm not familiar with t_vertex semantics so I can't comment on its applicability to handle mach64 native format vertices. The original DRI/Mesa vertex templates were designed for Direct3D-alike vertex formats, but Mach64 native vertex format differs too much, as it uses fixed precision numbers and a different ordering.
It would be pretty easy to extend t_vertex.[ch] to do this, most simply by adding the code in t_vertex.c itself, or much more cleanly by allowing drivers to register new field formats.
Keith
------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
