1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-13 18:37:10 +00:00
mpv/options
Niklas Haas 258487370f vo_gpu: vulkan: generalize SPIR-V compiler
In addition to the built-in nvidia compiler, we now also support a
backend based on libshaderc. shaderc is sort of like glslang except it
has a C API and is available as a dynamic library.

The generated SPIR-V is now cached alongside the VkPipeline in the
cached_program. We use a special cache header to ensure validity of this
cache before passing it blindly to the vulkan implementation, since
passing invalid SPIR-V can cause all sorts of nasty things. It's also
designed to self-invalidate if the compiler gets better, by offering a
catch-all `int compiler_version` that implementations can use as a cache
invalidation marker.
2017-09-26 17:25:35 +02:00
..
m_config.c m_config: better variable name 2017-09-22 11:31:23 +02:00
m_config.h
m_option.c build: add preliminary LGPL mode 2017-09-21 13:56:27 +02:00
m_option.h
m_property.c
m_property.h
options.c vo_gpu: vulkan: generalize SPIR-V compiler 2017-09-26 17:25:35 +02:00
options.h vo_gpu: vulkan: generalize SPIR-V compiler 2017-09-26 17:25:35 +02:00
parse_commandline.c
parse_commandline.h
parse_configfile.c
parse_configfile.h
path.c
path.h