Re: [Mesa-dev] [PATCH 2/3] glsl: disable cache if MESA_EXTENSION_OVERRIDE is set

2017-04-11 Thread Timothy Arceri
On 11/04/17 19:22, Nicolai Hähnle wrote: On 06.04.2017 12:35, Timothy Arceri wrote: On 05/04/17 19:58, Nicolai Hähnle wrote: On 05.04.2017 05:56, Timothy Arceri wrote: In the following patch we will stop pre-processing shaders before hashing them, so we just disable the cache if MESA_EXTENSI

Re: [Mesa-dev] [PATCH 2/3] glsl: disable cache if MESA_EXTENSION_OVERRIDE is set

2017-04-11 Thread Nicolai Hähnle
On 06.04.2017 12:35, Timothy Arceri wrote: On 05/04/17 19:58, Nicolai Hähnle wrote: On 05.04.2017 05:56, Timothy Arceri wrote: In the following patch we will stop pre-processing shaders before hashing them, so we just disable the cache if MESA_EXTENSION_OVERRIDE is set. Why can't you add the

Re: [Mesa-dev] [PATCH 2/3] glsl: disable cache if MESA_EXTENSION_OVERRIDE is set

2017-04-06 Thread Timothy Arceri
On 05/04/17 19:58, Nicolai Hähnle wrote: On 05.04.2017 05:56, Timothy Arceri wrote: In the following patch we will stop pre-processing shaders before hashing them, so we just disable the cache if MESA_EXTENSION_OVERRIDE is set. Why can't you add the value of MESA_EXTENSION_OVERRIDE to the hash

Re: [Mesa-dev] [PATCH 2/3] glsl: disable cache if MESA_EXTENSION_OVERRIDE is set

2017-04-05 Thread Nicolai Hähnle
On 05.04.2017 05:56, Timothy Arceri wrote: In the following patch we will stop pre-processing shaders before hashing them, so we just disable the cache if MESA_EXTENSION_OVERRIDE is set. Why can't you add the value of MESA_EXTENSION_OVERRIDE to the hash of shaders? Cheers, Nicolai Tested-

[Mesa-dev] [PATCH 2/3] glsl: disable cache if MESA_EXTENSION_OVERRIDE is set

2017-04-04 Thread Timothy Arceri
In the following patch we will stop pre-processing shaders before hashing them, so we just disable the cache if MESA_EXTENSION_OVERRIDE is set. Tested-by: Grazvydas Ignotas --- src/util/disk_cache.c | 9 + 1 file changed, 9 insertions(+) diff --git a/src/util/disk_cache.c b/src/util/dis

[Mesa-dev] [PATCH 2/3] glsl: disable cache if MESA_EXTENSION_OVERRIDE is set

2017-03-27 Thread Timothy Arceri
In the following patch we will stop pre-processing shaders before hashing them, so we just disable the cache if MESA_EXTENSION_OVERRIDE is set. --- src/util/disk_cache.c | 9 + 1 file changed, 9 insertions(+) diff --git a/src/util/disk_cache.c b/src/util/disk_cache.c index d9de8ef..dc883a

Re: [Mesa-dev] [PATCH 2/3] glsl: disable cache if MESA_EXTENSION_OVERRIDE is set

2017-03-27 Thread Timothy Arceri
On 27/03/17 20:32, Grazvydas Ignotas wrote: On Mon, Mar 27, 2017 at 6:14 AM, Timothy Arceri wrote: In the following patch we will stop pre-processing shaders before hashing them, so we just disable the cache if MESA_EXTENSION_OVERRIDE is set. That's because the extension substitution is don

Re: [Mesa-dev] [PATCH 2/3] glsl: disable cache if MESA_EXTENSION_OVERRIDE is set

2017-03-27 Thread Grazvydas Ignotas
On Mon, Mar 27, 2017 at 6:14 AM, Timothy Arceri wrote: > In the following patch we will stop pre-processing shaders before > hashing them, so we just disable the cache if MESA_EXTENSION_OVERRIDE > is set. That's because the extension substitution is done by the preprocessor I assume? It's not rea

[Mesa-dev] [PATCH 2/3] glsl: disable cache if MESA_EXTENSION_OVERRIDE is set

2017-03-26 Thread Timothy Arceri
In the following patch we will stop pre-processing shaders before hashing them, so we just disable the cache if MESA_EXTENSION_OVERRIDE is set. --- src/util/disk_cache.c | 9 + 1 file changed, 9 insertions(+) diff --git a/src/util/disk_cache.c b/src/util/disk_cache.c index d9de8ef..dc883a