| @@ -262,6 +262,7 @@ External library support: · 261 unmodified lines |
| 262 | 262 | --enable-librsvg enable SVG rasterization via librsvg [no] |
| 263 | 263 | --enable-librubberband enable rubberband needed for rubberband filter [no] |
| 264 | 264 | --enable-librtmp enable RTMP[E] support via librtmp [no] |
| 265 | + --enable-libshaderc enable GLSL->SPIRV compilation via libshaderc [no] |
| 265 | 266 | --enable-libshine enable fixed-point MP3 encoding via libshine [no] |
| 266 | 267 | --enable-libsmbclient enable Samba protocol via libsmbclient [no] |
| 267 | 268 | --enable-libsnappy enable Snappy compression, needed for hap encoding [no] |
| @@ -1834,6 +1835,7 @@ EXTERNAL_LIBRARY_LIST=" · 1566 unmodified lines |
| 1834 | 1835 | librist |
| 1835 | 1836 | librsvg |
| 1836 | 1837 | librtmp |
| 1838 | + libshaderc |
| 1837 | 1839 | libshine |
| 1838 | 1840 | libsmbclient |
| 1839 | 1841 | libsnappy |
| @@ -3565,7 +3567,7 @@ ass_filter_deps="libass" · 1725 unmodified lines |
| 3565 | 3567 | atempo_filter_deps="avcodec" |
| 3566 | 3568 | atempo_filter_select="rdft" |
| 3567 | 3569 | avgblur_opencl_filter_deps="opencl" |
| 3568 | | −avgblur_vulkan_filter_deps="vulkan libglslang" |
| 3570 | +avgblur_vulkan_filter_deps="vulkan spirv_compiler" |
| 3569 | 3571 | azmq_filter_deps="libzmq" |
| 3570 | 3572 | blackframe_filter_deps="gpl" |
| 3571 | 3573 | bm3d_filter_deps="avcodec" |
| @@ -3573,7 +3575,7 @@ bm3d_filter_select="dct" · 1 unmodified line |
| 3573 | 3575 | boxblur_filter_deps="gpl" |
| 3574 | 3576 | boxblur_opencl_filter_deps="opencl gpl" |
| 3575 | 3577 | bs2b_filter_deps="libbs2b" |
| 3576 | | −chromaber_vulkan_filter_deps="vulkan libglslang" |
| 3578 | +chromaber_vulkan_filter_deps="vulkan spirv_compiler" |
| 3577 | 3579 | colorkey_opencl_filter_deps="opencl" |
| 3578 | 3580 | colormatrix_filter_deps="gpl" |
| 3579 | 3581 | convolution_opencl_filter_deps="opencl" |
| @@ -3613,7 +3615,7 @@ frei0r_deps_any="libdl LoadLibrary" · 33 unmodified lines |
| 3613 | 3615 | frei0r_filter_deps="frei0r" |
| 3614 | 3616 | frei0r_src_filter_deps="frei0r" |
| 3615 | 3617 | fspp_filter_deps="gpl" |
| 3616 | | −gblur_vulkan_filter_deps="vulkan libglslang" |
| 3618 | +gblur_vulkan_filter_deps="vulkan spirv_compiler" |
| 3617 | 3619 | histeq_filter_deps="gpl" |
| 3618 | 3620 | hqdn3d_filter_deps="gpl" |
| 3619 | 3621 | interlace_filter_deps="gpl" |
| @@ -3638,7 +3640,7 @@ openclsrc_filter_deps="opencl" · 18 unmodified lines |
| 3638 | 3640 | overlay_opencl_filter_deps="opencl" |
| 3639 | 3641 | overlay_qsv_filter_deps="libmfx" |
| 3640 | 3642 | overlay_qsv_filter_select="qsvvpp" |
| 3641 | | −overlay_vulkan_filter_deps="vulkan libglslang" |
| 3643 | +overlay_vulkan_filter_deps="vulkan spirv_compiler" |
| 3642 | 3644 | owdenoise_filter_deps="gpl" |
| 3643 | 3645 | pad_opencl_filter_deps="opencl" |
| 3644 | 3646 | pan_filter_deps="swresample" |
| @@ -3701,7 +3703,7 @@ zmq_filter_deps="libzmq" · 56 unmodified lines |
| 3701 | 3703 | zoompan_filter_deps="swscale" |
| 3702 | 3704 | zscale_filter_deps="libzimg const_nan" |
| 3703 | 3705 | scale_vaapi_filter_deps="vaapi" |
| 3704 | | −scale_vulkan_filter_deps="vulkan libglslang" |
| 3706 | +scale_vulkan_filter_deps="vulkan spirv_compiler" |
| 3705 | 3707 | vpp_qsv_filter_deps="libmfx" |
| 3706 | 3708 | vpp_qsv_filter_select="qsvvpp" |
| 3707 | 3709 | xfade_opencl_filter_deps="opencl" |
| @@ -6327,6 +6329,10 @@ if ! disabled ffnvcodec; then · 2619 unmodified lines |
| 6327 | 6329 | check_pkg_config ffnvcodec "ffnvcodec >= 8.1.24.11 ffnvcodec < 8.2" "$ffnv_hdr_list" "" |
| 6328 | 6330 | fi |
| 6329 | 6331 | |
| 6332 | +if enabled_all libglslang libshaderc; then |
| 6333 | + die "ERROR: libshaderc and libglslang are mutually exclusive, if in doubt, disable libglslang" |
| 6334 | +fi |
| 6335 | + |
| 6330 | 6336 | check_cpp_condition winrt windows.h "!WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)" |
| 6331 | 6337 | |
| 6332 | 6338 | if ! disabled w32threads && ! enabled pthreads; then |
| @@ -6443,10 +6449,10 @@ enabled fontconfig && enable libfontconfig · 110 unmodified lines |
| 6443 | 6449 | enabled libfontconfig && require_pkg_config libfontconfig fontconfig "fontconfig/fontconfig.h" FcInit |
| 6444 | 6450 | enabled libfreetype && require_pkg_config libfreetype freetype2 "ft2build.h FT_FREETYPE_H" FT_Init_FreeType |
| 6445 | 6451 | enabled libfribidi && require_pkg_config libfribidi fribidi fribidi.h fribidi_version_info |
| 6446 | | −enabled libglslang && { check_lib libglslang glslang/Include/glslang_c_interface.h glslang_initialize_process \ |
| 6452 | +enabled libglslang && { check_lib spirv_compiler glslang/Include/glslang_c_interface.h glslang_initialize_process \ |
| 6447 | 6453 | -lglslang -lMachineIndependent -lOSDependent -lHLSL -lOGLCompiler -lGenericCodeGen \ |
| 6448 | 6454 | -lSPVRemapper -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lpthread -lstdc++ -lm || |
| 6449 | | − require libglslang glslang/Include/glslang_c_interface.h glslang_initialize_process \ |
| 6455 | + require spirv_compiler glslang/Include/glslang_c_interface.h glslang_initialize_process \ |
| 6450 | 6456 | -lglslang -lOSDependent -lHLSL -lOGLCompiler \ |
| 6451 | 6457 | -lSPVRemapper -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lpthread -lstdc++ -lm; } |
| 6452 | 6458 | enabled libgme && { check_pkg_config libgme libgme gme/gme.h gme_new_emu || |
| @@ -6504,6 +6510,7 @@ enabled librist && require_pkg_config librist "librist >= 0.2" librist · 51 unmodified lines |
| 6504 | 6510 | enabled librsvg && require_pkg_config librsvg librsvg-2.0 librsvg-2.0/librsvg/rsvg.h rsvg_handle_render_cairo |
| 6505 | 6511 | enabled librtmp && require_pkg_config librtmp librtmp librtmp/rtmp.h RTMP_Socket |
| 6506 | 6512 | enabled librubberband && require_pkg_config librubberband "rubberband >= 1.8.1" rubberband/rubberband-c.h rubberband_new -lstdc++ && append librubberband_extralibs "-lstdc++" |
| 6513 | +enabled libshaderc && require_pkg_config spirv_compiler "shaderc >= 2019.1" shaderc/shaderc.h shaderc_compiler_initialize |
| 6507 | 6514 | enabled libshine && require_pkg_config libshine shine shine/layer3.h shine_encode_buffer |
| 6508 | 6515 | enabled libsmbclient && { check_pkg_config libsmbclient smbclient libsmbclient.h smbc_init || |
| 6509 | 6516 | require libsmbclient libsmbclient.h smbc_init -lsmbclient; } |