Re: [Mesa-dev] [PATCH 3/3] radv: Add on-demand compilation of built-in shaders.

2018-08-13 Thread Dave Airlie
On Tue, 14 Aug 2018 at 09:01, Bas Nieuwenhuizen wrote: > > In environments where we cannot cache, e.g. Android (no homedir), > ChromeOS (readonly rootfs) or sandboxes (cannot open cache), the > startup cost of creating a device in radv is rather high, due > to compiling all possible built-in pipe

[Mesa-dev] [PATCH 3/3] radv: Add on-demand compilation of built-in shaders.

2018-08-13 Thread Bas Nieuwenhuizen
In environments where we cannot cache, e.g. Android (no homedir), ChromeOS (readonly rootfs) or sandboxes (cannot open cache), the startup cost of creating a device in radv is rather high, due to compiling all possible built-in pipelines up front. This meant depending on the CPU a 1-4 sec cost of c