[Mesa-dev] [PATCH] android: glsl: build shader cache sources

Emil Velikov emil.l.velikov at gmail.com
Mon Feb 20 17:10:10 UTC 2017


On 20 February 2017 at 09:31, Tapani Pälli <tapani.palli at intel.com> wrote:
> On 02/19/2017 03:06 AM, Timothy Arceri wrote:
>>
>> I would have thought this commit [1] should have fixed it for android as
>> weel as scons.
>>
>> [1]
>>
>> https://cgit.freedesktop.org/mesa/mesa/commit/?id=172c48cc15e2a7b42a7de8ff9164ad8733155667
>
>
> Problem is that we have ENABLE_SHADER_CACHE on because it is linked to
> having SHA1 available, see following commit:
>
> 9f8dc3bf03ec825bae7041858dda6ca2e9a34363
>
> not sure how we should deal with shader cache on Android, it will probably
> require some custom location to write to, otherwise I guess it should work
> similar as on desktop.
>
Until 'the correct' place is established one can use
MESA_GLSL_CACHE_DIR envvar ;-)

-Emil


More information about the mesa-dev mailing list