[Mesa-dev] [PATCH 0/4] RFC: gl_shader cache

Tapani Pälli tapani.palli at intel.com
Sun Sep 22 23:29:49 PDT 2013


On 09/20/2013 05:23 PM, Christoph Brill wrote:
> 2013/9/20 Tapani Pälli <tapani.palli at intel.com 
> <mailto:tapani.palli at intel.com>>
>
>     Hello;
>
>
>     On my SNB desktop machine shader-db takes ~2.4secs without cache,
>     with cache
>     it takes ~1.8secs (~2.7 when cache gets generated) (values are avg
>     from 100
>     runs compiling all the shaders). Shader-db creates 266 blobs
>     eating 46M of
>     disk space when using cache.
>
>
> This sounds that we will need a configure option to disable the cache 
> on platforms with
> a low amount of disk space (thinking of phones/embedded devices here).

Yep, configure option makes sense, will definitely add this. I would not 
worry about the size too much yet, I haven't optimized for size (or 
performance), I've been concentrating on getting the functionality to 
work first. I'm sure the blobs can be made smaller.

// Tapani

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130923/5fdf3395/attachment.html>


More information about the mesa-dev mailing list