On 5/17/07, Tommy Schultz Lassen <[EMAIL PROTECTED]> wrote: > Oliver McFadden skrev: > > Hi, > > > > I need to understand and extend these functions because > > r300_ioctl.c:r300EmitClearState writes hard-coded values to these > registers, and > > this should be replaced with calls to (extended) t_vir0 and t_vir1. These > > probably need to be renamed, too. > > > > > Hi, > > I have for some time been playing with the R300 driver to fix a problem > wit Newervinter Nights. > > While looking at that problem i made a patch to remove "struct > radeon_vertex_buffer". The problem with Newervinter is that it uses > VERT_ATTRIB_WEIGHT when i enable that. Colors in the regions where > VERT_ATTRIB_WEIGHT is used gets way of. Anyone have any insights on that? > > In the attached patch there is also a cleanup of t_vir0. I hop that > helps a bit. > > Tommy >
The patch looks good, it simplifies the t_vir0 function as well as removing the radeon_vb_to_rvb function which would needlessly eat a little CPU; not a significant amount, but avoiding pointless copying is a good idea. :) I'll do some testing with this patch and then commit it. Thanks. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
