This patch enables triangle strips and fans support on G400.
- New drm should be compatible with old userspace and vice versa.
- I threw that cull_dualtex stuff out. I moved the spcial case to EmitHWStateLocked() and it's only used when an old drm is detected. It is needed because the old drm swaps the WARPs with dualtex for some reason. I also changed the drm's WACCEPTSEQ dualtex value to 0x1c000000 from 0x1e000000. I don't think there's any need to touch seqlen. Only wfirsttag needs to be toggled.
Ugh - these are pretty major changes. How thoroughly have you tested them?
The WARP is swapped because the 2nd warp is designed for dual texturing. I'm not sure I believe that the singletex warp will do the right thing for multitexturing - in fact I'm sure I can remember bugs when I didn't swap them over correctly.
- I changed the dualtex fan WACCEPTSEQ value to the one used in the WARP DDK. I'm not entirely sure about this but I suspect the change was needed due to the cull_dualtex stuff. I only have single tex + fan apps so I'll have to write a test for this...
Hmm. This might be reverting the fix to the infamous G400 q3 lockup. Be sure to play many hours of quake with this test before considering it right. It's probably worth checking back to see exactly what the fix to this bug was, but we definitely had to go against what the DDK said to fix it.
Keith
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
