disk_cache: add env var to show stats
Signed-off-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Emma Anholt <emma@anholt.net> Tested-by: Chris Healy <healych@amazon.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19644>
This commit is contained in:
committed by
Marge Bot
parent
f7d7e558c9
commit
4a14ba6fce
@@ -160,6 +160,9 @@ Core Mesa environment variables
|
||||
will be stored in ``$XDG_CACHE_HOME/mesa_shader_cache`` (if that
|
||||
variable is set), or else within ``.cache/mesa_shader_cache`` within
|
||||
the user's home directory.
|
||||
:envvar:`MESA_SHADER_CACHE_SHOW_STATS`
|
||||
if set to ``true``, keeps hit/miss statistics for the shader cache.
|
||||
These statistics are printed when the app terminates.
|
||||
:envvar:`MESA_GLSL`
|
||||
:ref:`shading language compiler options <envvars>`
|
||||
:envvar:`MESA_NO_MINMAX_CACHE`
|
||||
|
||||
Reference in New Issue
Block a user