DOCS/options: reword cache options

D3D11 is actually the main platform that suffers from slow shader
compilation, typical Vulkan/GL drivers are either very fast to begin
with, or already internally cache.
This commit is contained in:
Niklas Haas 2023-11-19 14:36:23 +01:00 committed by sfan5
parent 70db887553
commit 47eae92c46
1 changed files with 10 additions and 10 deletions

View File

@ -6810,14 +6810,14 @@ them.
profile via ``MPV_RENDER_PARAM_ICC_PROFILE``. profile via ``MPV_RENDER_PARAM_ICC_PROFILE``.
``--icc-cache`` ``--icc-cache``
Store and load 3D LUTs created from the ICC profile on disk in the Store and load 3DLUTs created from the ICC profile on disk in the
cache directory (Default: ``yes``). This can be used to speed up loading, cache directory (Default: ``yes``). This can be used to speed up loading,
since LittleCMS 2 can take a while to create a 3D LUT. Note that these since LittleCMS 2 can take a while to create a 3D LUT. Note that these
files contain uncompressed LUTs. Their size depends on the files contain uncompressed LUTs. Their size depends on the
``--icc-3dlut-size``, and can be very big. ``--icc-3dlut-size``, and can be very big.
NOTE: This is not cleaned automatically, so old, unused cache files may NOTE: On ``--vo=gpu``, this is not cleaned automatically, so old, unused
stick around indefinitely. cache files may stick around indefinitely.
``--icc-cache-dir`` ``--icc-cache-dir``
The directory where icc cache is stored. Cache is stored in the system's The directory where icc cache is stored. Cache is stored in the system's
@ -6960,14 +6960,14 @@ them.
This option might be silently removed in the future. This option might be silently removed in the future.
``--gpu-shader-cache`` ``--gpu-shader-cache``
Store and load compiled GLSL shaders in the cache directory (Default: ``yes``). Store and load compiled GLSL shaders in the cache directory (Default:
Normally, shader compilation is very fast, so this is not usually needed. ``yes``). Normally, shader compilation is very fast, so this is not usually
It mostly matters for GPU APIs that require internally recompiling shaders to needed. It mostly matters for anything based on D3D11 (including ANGLE), as
other languages, for example anything based on ANGLE or Vulkan. Enabling this well as on some other proprietary drivers. Enabling this can improve startup
can improve startup performance on these platforms. performance on these platforms.
NOTE: This is not cleaned automatically, so old, unused cache files may NOTE: On ``--vo=gpu``, is not cleaned automatically, so old, unused cache
stick around indefinitely. files may stick around indefinitely.
``--gpu-shader-cache-dir`` ``--gpu-shader-cache-dir``
The directory where gpu shader cache is stored. Cache is stored in the system's The directory where gpu shader cache is stored. Cache is stored in the system's