aboutsummaryrefslogtreecommitdiffhomepage
path: root/video/out/gpu/spirv.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gpu/spirv.c')
-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}
};