[Mesa-dev] [PATCH 2/2] docs: update envvars.html to reflect having a cache per arch

Marek Olšák maraeo at gmail.com
Thu Mar 2 16:25:40 UTC 2017


On Thu, Mar 2, 2017 at 7:08 AM, Timothy Arceri <tarceri at itsqueeze.com> wrote:
> ---
>  docs/envvars.html | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/docs/envvars.html b/docs/envvars.html
> index 9f1f708..aa56cd1 100644
> --- a/docs/envvars.html
> +++ b/docs/envvars.html
> @@ -112,21 +112,24 @@ glGetString(GL_VERSION) for OpenGL ES.
>  </ul>
>  <li>MESA_GLSL_VERSION_OVERRIDE - changes the value returned by
>  glGetString(GL_SHADING_LANGUAGE_VERSION). Valid values are integers, such as
>  "130".  Mesa will not really implement all the features of the given language version
>  if it's higher than what's normally reported. (for developers only)
>  <li>MESA_GLSL_CACHE_DISABLE - if set, disables the GLSL shader cache
>  <li>MESA_GLSL_CACHE_MAX_SIZE - if set, determines the maximum size of
>  the on-disk cache of compiled GLSL programs. Should be set to a number
>  optionally followed by 'K', 'M', or 'G' to specify a size in
>  kilobytes, megabytes, or gigabytes. By default, gigabytes will be
> -assumed. And if unset, a maximum size of 1GB will be used.
> +assumed. And if unset, a maximum size of 1GB will be used. Note: A separate
> +cache might be created for each architecture that Mesa is installed for on
> +your system. For example under the default settings you may end up with a 1GB
> +cache for x86_64 and another 1GB cache for i386.

I'd like the cache to ignore the CPU architecture completely. Can we do that?

Marek


More information about the mesa-dev mailing list