> Maybe for average case but not for worst. > > Heres a list of problems that prevent r300 driver from using Keith's ffp > program generator: > 1. _TnlProgram is of fixed size type and smaller than r300_vertex_program > 2. Programs generated are incomplete in sense that they dont move input color > to output(also applies to texture coords) > 3. Number of temps exceeds 32 in some cases. > > Attached patch temporarily fixes first two issues. > > Problems on r300 side(that im aware of): > 1. Multitexturing is broken on r300 side as texcoords regs arent properly > asigned in r300_setup_rs_unit > 2. Problems with colors applied to textures(see dinoshade).
I haven't looked deeply in the code vp_build but i will take a deeper look to it. I think we should really use somethings that mesa provides as futur drivers will probably use such things. >3. Number of temps exceeds 32 in some cases. I astonished by the number of temp reg, there is a waste some where i think. I have little bit stoped my effort as it seems they are issue with closed driver & vertex program (ati one) not providing correct values in some case (really boring to debug). But i will try to finish it at least it could be a good test program... Jerome Glisse ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel