-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 25 August 2004 05:15, Keith Whitwell wrote: > Adam Jackson wrote: > > NV_vertex_program however... > > > > The codegen version of NV_vertex_program is busted. > > The code you're referring to is only supposed to work with fragment > programs, and ARB_fragment_program in particular.
Oops, typo. Yes, I meant NV_fragment_program, and I just assumed when looking at the code that the ARB and NV versions were similar enough to use the same code path. I was playing with it to get a feel for codegen. > It's experimental in nature and will break in many many different ways, > even for ARB_fragment_program. > > Let me list some of them: > - It's not thread safe. > - It probably won't work with programs with more than one fragment > program. > - TCC has all sorts of odd issues being used this way, and blows > up spectacularly sometimes. > > Also, from a performance point of view, what this code does highlight when > it works is that the actual execution of fragment programs is only a > fraction of the overhead we encounter when running ARB_fp programs. We > lose as much or more time simply as a result of the non-optimal triangle > scan-conversion, construction of span data, etc, which is all done in a > very general way when running fragment programs. These issues need to be > addressed before its worthwhile investing any great effort in the FP > execution itself. The arbfp demos were faster, but not overwhelmingly so, so that's good to know. - - ajax -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBLL5KW4otUKDs0NMRApZEAKDcFlR1ZAMTELXVHcA0CK6QVeVFagCfcOSo ivTkoiss/BFxFmRIsMwlRi4= =xacs -----END PGP SIGNATURE----- ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel