diff options
author | James Ross-Gowan <rossy@jrg.systems> | 2019-04-16 18:18:50 +1000 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2019-06-12 23:03:55 +0300 |
commit | cc38035841692780883f9cec274617108c57670c (patch) | |
tree | 7b7fcf6bfa9b15d4a044a21d77b507a91e3db7da /wscript | |
parent | fbe267150d9b6a2486a73c13d58b2b24d69b50ad (diff) | |
download | mpv-cc38035841692780883f9cec274617108c57670c.tar.bz2 mpv-cc38035841692780883f9cec274617108c57670c.tar.xz |
vo_gpu: d3d11: use the SPIRV-Cross C API directly
When the D3D11 backend was first written, SPIRV-Cross only had a C++ API
and no guarantee of API or ABI stability, so instead of using
SPIRV-Cross directly, mpv used an unofficial C wrapper called crossc.
Now that KhronosGroup/SPIRV-Cross#611 is resolved, SPIRV-Cross has an
official C API that can be used instead, so remove crossc and use
SPIRV-Cross directly.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -747,13 +747,13 @@ video_output_features = [ 'deps': 'shaderc-shared || shaderc-static', 'func': check_true, }, { - 'name': '--crossc', - 'desc': 'libcrossc SPIR-V translator', - 'func': check_pkg_config('crossc'), + 'name': '--spirv-cross', + 'desc': 'SPIRV-Cross SPIR-V shader converter', + 'func': check_pkg_config('spirv-cross-c-shared'), }, { 'name': '--d3d11', 'desc': 'Direct3D 11 video output', - 'deps': 'win32-desktop && shaderc && crossc', + 'deps': 'win32-desktop && shaderc && spirv-cross', 'func': check_cc(header_name=['d3d11_1.h', 'dxgi1_2.h']), }, { # We need MMAL/bcm_host/dispmanx APIs. Also, most RPI distros require |