Re: [Mesa-dev] [PATCH v2 32/32] disk_cache: Add support for MESA_GLSL_CACHE_TIMESTAMP in debug builds

2017-10-20 Thread Jordan Justen
On 2017-10-20 16:24:54, Jason Ekstrand wrote: > On Thu, Oct 19, 2017 at 3:25 PM, Timothy Arceri > wrote: > > > Maybe add to docs? > > > > I'm not sure how I feel about that. I'm scared to death of options like > this becoming something some random user on the internet

Re: [Mesa-dev] [PATCH v2 32/32] disk_cache: Add support for MESA_GLSL_CACHE_TIMESTAMP in debug builds

2017-10-20 Thread Jason Ekstrand
On Thu, Oct 19, 2017 at 3:25 PM, Timothy Arceri wrote: > Maybe add to docs? > I'm not sure how I feel about that. I'm scared to death of options like this becoming something some random user on the internet decides they should use because it keeps the pre-populated

Re: [Mesa-dev] [PATCH v2 32/32] disk_cache: Add support for MESA_GLSL_CACHE_TIMESTAMP in debug builds

2017-10-19 Thread Timothy Arceri
Maybe add to docs? On 19/10/17 16:32, Jordan Justen wrote: The MESA_GLSL_CACHE_TIMESTAMP environment variable can be set to override the driver timestamp. Usually the driver will specify a hash of their driver build so the cache items become invalid with each driver build. We don't guarantee a

[Mesa-dev] [PATCH v2 32/32] disk_cache: Add support for MESA_GLSL_CACHE_TIMESTAMP in debug builds

2017-10-18 Thread Jordan Justen
The MESA_GLSL_CACHE_TIMESTAMP environment variable can be set to override the driver timestamp. Usually the driver will specify a hash of their driver build so the cache items become invalid with each driver build. We don't guarantee a stable serialized shader cache format, so changing the