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

2017-02-21 Thread Tapani Pälli
On 02/20/2017 07:10 PM, Emil Velikov wrote: On 20 February 2017 at 09:31, Tapani Pälli 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=172c48c

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

2017-02-20 Thread Emil Velikov
On 20 February 2017 at 09:31, Tapani Pälli 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=172c48cc15e2a7b42a7de8ff9164ad8733155

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

2017-02-20 Thread Emil Velikov
On 19 February 2017 at 01:06, Timothy Arceri wrote: > I would have thought this commit [1] should have fixed it for android as > weel as scons. > As Tapani mentioned - I've opted to disable the code for scons (since it doesn't build) and enable it for everyone else... but I've missed this hunk. Pl

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

2017-02-20 Thread Tapani Pälli
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 li

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

2017-02-18 Thread Timothy Arceri
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 On 19/02/17 08:23, Mauro Rossi wrote: Fixes the following building errors: external/mesa/src/compiler/glsl/l

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

2017-02-18 Thread Mauro Rossi
Fixes the following building errors: external/mesa/src/compiler/glsl/linker.cpp:4642: error: undefined reference to 'shader_cache_read_program_metadata(gl_context*, gl_shader_program*)' external/mesa/src/mesa/program/ir_to_mesa.cpp:3135: error: undefined reference to 'shader_cache_write_program_