From 5bcac8580df6fc62323136f756a3a6d1e754fe9c Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Sat, 24 Nov 2018 04:25:30 +0100 Subject: spirv: remove --spirv-compiler=nvidia This option has been deprecated upstream for a long time, probably doesn't even work anymore, and won't work moving forwards as we replace the vulkan code by libplacebo wrappers. I haven't removed the option completely yet since in theory we could still add support for e.g. a native glslang wrapper in the future. But most likely the future of this code is deletion. As an aside, fix an issue where the man page didn't mention d3d11. --- DOCS/man/options.rst | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'DOCS/man') diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index e8c548d3a7..2aaad5febc 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -4522,18 +4522,19 @@ The following video options are currently all specific to ``--vo=gpu`` and ``--spirv-compiler=`` Controls which compiler is used to translate GLSL to SPIR-V. This is - (currently) only relevant for ``--gpu-api=vulkan``. The possible choices - are: + (currently) only relevant for ``--gpu-api=vulkan`` and `--gpu-api=d3d11`. + The possible choices are currently only: auto Use the first available compiler. (Default) shaderc Use libshaderc, which is an API wrapper around glslang. This is generally the most preferred, if available. - nvidia - Use nvidia's built-in compiler. Only works for nvidia GPUs. Can be - buggy, but also supports some features glslang does not. Only works - with vulkan. + + .. note:: + + This option is deprecated, since there is only one reasonable value. + It may be removed in the future. ``--glsl-shaders=`` Custom GLSL hooks. These are a flexible way to add custom fragment shaders, -- cgit v1.2.3