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

Tapani Pälli tapani.palli at intel.com
Wed Feb 22 05:31:56 UTC 2017



On 02/20/2017 07:10 PM, Emil Velikov wrote:
> 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 ;-)
>

That's true, we can have some testing done with this to figure out a 
good place.

Thanks;

// Tapani


More information about the mesa-dev mailing list