Re: [Mesa-dev] [PATCH 07/40] glsl: make use of on disk shader cache

2017-02-10 Thread Nicolai Hähnle
On 10.02.2017 13:35, Timothy Arceri wrote: On 10/02/17 22:41, Nicolai Hähnle wrote: On 07.02.2017 04:42, Timothy Arceri wrote: From: Timothy Arceri The hash key for glsl metadata is a hash of the hashes of each GLSL source string. This commit uses the

Re: [Mesa-dev] [PATCH 07/40] glsl: make use of on disk shader cache

2017-02-10 Thread Timothy Arceri
On 10/02/17 22:41, Nicolai Hähnle wrote: On 07.02.2017 04:42, Timothy Arceri wrote: From: Timothy Arceri The hash key for glsl metadata is a hash of the hashes of each GLSL source string. This commit uses the put_key/get_key support in the cache put the SHA-1

Re: [Mesa-dev] [PATCH 07/40] glsl: make use of on disk shader cache

2017-02-10 Thread Nicolai Hähnle
On 07.02.2017 04:42, Timothy Arceri wrote: From: Timothy Arceri The hash key for glsl metadata is a hash of the hashes of each GLSL source string. This commit uses the put_key/get_key support in the cache put the SHA-1 hash of the source string for each

[Mesa-dev] [PATCH 07/40] glsl: make use of on disk shader cache

2017-02-06 Thread Timothy Arceri
From: Timothy Arceri The hash key for glsl metadata is a hash of the hashes of each GLSL source string. This commit uses the put_key/get_key support in the cache put the SHA-1 hash of the source string for each successfully compiled shader into the cache. This