On Mon, 08 Dec 2008 14:48:33 +0100
Philipp Klaus Krause <[EMAIL PROTECTED]> wrote:

> - From time to time people say that they want support for precompiled
> shaders in the OpenGL API. The main point for this they bring forth is
> reducing loading times for their applications.
> 
> I think this advantage of precompiled shaders can be had without support
> for it in the API: It can be inmplemented transparently in the driver.

Is it just a theoretical gain, or do the people actually have public
benchmark results showing that the net gain with cold/hot disk cache is
is noticeable? A quick spin in Google gave me nothing, but I would not
be surprised if I just missed the right keywords.

Or is compiling shaders with Mesa so hideously slow that it would be a
clear benefit even without benchmarking?

I can also come up with another reason to have precompiled shaders:
"protecting" the shader source code. I am not sure that makes any sense,
though.


Cheers.

-- 
Pekka Paalanen
http://www.iki.fi/pq/

------------------------------------------------------------------------------
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

Reply via email to