summaryrefslogtreecommitdiffstats
path: root/video/out/gpu
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2018-11-24 04:25:30 +0100
committerJan Ekström <jeebjp@gmail.com>2018-12-01 15:50:23 +0200
commit5bcac8580df6fc62323136f756a3a6d1e754fe9c (patch)
tree523664b7c0cc396e75b18f1c396bed544accfb01 /video/out/gpu
parentf0509d3738ec37cfa4afa81f070c8abd876e6561 (diff)
downloadmpv-5bcac8580df6fc62323136f756a3a6d1e754fe9c.tar.bz2
mpv-5bcac8580df6fc62323136f756a3a6d1e754fe9c.tar.xz
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.
Diffstat (limited to 'video/out/gpu')
-rw-r--r--video/out/gpu/spirv.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/video/out/gpu/spirv.c b/video/out/gpu/spirv.c
index 06d33686d0..ee11d601a3 100644
--- a/video/out/gpu/spirv.c
+++ b/video/out/gpu/spirv.c
@@ -5,22 +5,17 @@
#include "config.h"
extern const struct spirv_compiler_fns spirv_shaderc;
-extern const struct spirv_compiler_fns spirv_nvidia_builtin;
// in probe-order
enum {
SPIRV_AUTO = 0,
SPIRV_SHADERC, // generally preferred, but not packaged everywhere
- SPIRV_NVIDIA, // can be useful for testing, only available on nvidia
};
static const struct spirv_compiler_fns *compilers[] = {
#if HAVE_SHADERC
[SPIRV_SHADERC] = &spirv_shaderc,
#endif
-#if HAVE_VULKAN
- [SPIRV_NVIDIA] = &spirv_nvidia_builtin,
-#endif
};
static const struct m_opt_choice_alternatives compiler_choices[] = {
@@ -28,9 +23,6 @@ static const struct m_opt_choice_alternatives compiler_choices[] = {
#if HAVE_SHADERC
{"shaderc", SPIRV_SHADERC},
#endif
-#if HAVE_VULKAN
- {"nvidia", SPIRV_NVIDIA},
-#endif
{0}
};