On Tue, Dec 09, 2008 at 08:55:12PM -0800, Ian Romanick wrote: > Ultimately, I think this is the wrong approach. No GPU implements a > noise instruction, I doubt that one ever will. We really want to have > an implementation in GLSL that all GPUs can use.
I certainly agree, but I don't think that a general high-level noise implementation precludes having some drivers including native ones as well. There are a LOT of tradeoffs to be made in the noise function (e.g. hashing via direct computation vs. single texture lookup vs. chained texture lookups; many-way conditionals which are excellent for SISD and maybe massively SIMD but poor for low-degree SIMD; choices of which bits are done in integers vs. floats), and some of those choices are going to do poorly on unsuitable hardware. So I feel there is still room for noise implemented in the driver (even if only in special cases). Cheers, Gary. -- Gary Wong [EMAIL PROTECTED] http://cs-people.bu.edu/gtw/ ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev