Am 2003.06.19 20:42:44 +0200 schrieb(en) Keith Whitwell: [...]
[...]Log message: Prepare to enable texunits 3 & 4
nice to see that (as it could also help the radeon/r200 driver ;))
btw, you might need to change some files from mesa, too. It was necessary to patch xc/xc/extras/Mesa/src/tnl_dd/t_dd_vbtmp.h to get multiarb.c working with 3TMU's on a radeon (at the moment only NON-TCL, unfortunately...)
best regards, Andreas
diff -ru current_trunk/xc/xc/extras/Mesa/src/tnl_dd/t_dd_vbtmp.h tex3_20030619/xc/xc/extras/Mesa
--- current_trunk/xc/xc/extras/Mesa/src/tnl_dd/t_dd_vbtmp.h Fri Apr 4 19:31:02 2003
+++ tex3_20030619/xc/xc/extras/Mesa/src/tnl_dd/t_dd_vbtmp.h Thu Jun 19 20:44:25 2003
@@ -404,6 +404,20 @@
v->v.v1 = tc1[i][1];
}
}
+ if (DO_TEX2) {
+ if (DO_PTEX) {
+ v->pv.u2 = tc2[i][0];
+ v->pv.v2 = tc2[i][1];
+ if (tc2_size == 4) + v->pv.q2 = tc2[i][3];
+ else
+ v->pv.q2 = 1.0;
+ } + else {
+ v->v.u2 = tc2[i][0];
+ v->v.v2 = tc2[i][1];
+ }
+ }
}
}
}
------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel