From cc38035841692780883f9cec274617108c57670c Mon Sep 17 00:00:00 2001 From: James Ross-Gowan Date: Tue, 16 Apr 2019 18:18:50 +1000 Subject: 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. --- wscript | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 29cc0ef4e8..453eb0d742 100644 --- a/wscript +++ b/wscript @@ -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 -- cgit v1.2.3