It turns out I missed something obvious... The parameters are passed correctly, I have just not transformed the vertex.position to the fragment.position
Now I just need to figure out how =) Rune Petersen Rune Petersen wrote: > Hi, > > Found some time to have a look at routing fragment.position from the > vertex shader. > > Patch notes: > x & y appear correct, but z is 0 % w is 1. > z appears to be 0 in the vertex shader, because swizzling Z to > position.x is is also 0. > > Most of the patch is the select_vertex_shader changes by Aapo Tahkola. > of interest is in r300_state.c and the bottom of r300_vertexprog.c > > color0 is now always passed from the vertex to the fragment, otherwise > the fragment input registers wont be correctly aligned... > > > I would be grateful for any suggestions. > > Rune Petersen ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
