I just added src/mesa/shader/programopt.c to CVS. It had been sitting in my working tree for a while.
The _mesa_append_modelview_code() function modifies a vertex program with the instructions needed to implement the position invariant option (when appropriate). I noticed that the r200 and r300 drivers each do this in their own way. Perhaps they can be modified to use this new function. -Brian ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev