On 11.02.2010 21:42, Christoph Bumiller wrote: > On 02/11/2010 09:02 PM, Roland Scheidegger wrote: >> Hi, >> >> could one of the nouveau developers please take a look at the nv30 >> changes I did for the stencil ref changes in gallium-dynamicstencilref >> branch? >> I've just done that in a way I think it might make sense, but I've >> absolutely no idea if it would work like that (and even if it would in >> theory there might of course still be bugs in it...) > Looks like it should work, I can't test nv30 myself though. > >> Also, I was a bit confused about the so_new() parameters as the numbers >> didn't seem to add up (assuming it's basically the max number of >> so_method and so_data calls). > It's (nr of so_method, nr of so_data + nr of so_reloc, nr of so_reloc), > since relocs/addresses are considered data. Ok that's what I figured. The numbers were just wrong, then (nv30 used 5/21/0 but the actual max was 4/22/0, nv40 uses 4/21/0 and it should also be 4/22/0). Hence the confusion. At least things looked ok for nv50 (though it seems to needlessly split up the back face state into two so_methods - anyway that'll change).
> >> Anyway, if it makes sense I can do nv40/nv50 too, if not tell me what >> needs to be done instead or do it yourself :-). Or it will break after >> the merge... >> > I think you'll get it right. nv40 should be about the same as nv30, > nv50 state is a bit less elegant but should be easy to adjust, too. Ok. Roland ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev