Download raw body.
[update] shaderc 2025.5
On Wed Dec 17, 2025 at 10:16:12AM +0100, Theo Buehler wrote:
> I got tired of seeing this stupid warning whenever I play a video in mpv
>
> [vo/gpu/libplacebo] Vulkan 1.4 is not supported by the current version of shaderc. Falling back to 1.3!
Oh yes please, ok rsadowski
>
> This warning went away once I recompiled libplacebo.
>
> I will put this through a bulk, but I don't expect fallout given that
> there is a single API addition. Works for me, but I don't use this stuff
> otherwise.
>
> I guess the gaming crowd will want to give this a spin. Maybe SPIRV-Tools
> wants to be kept in sync, but it's not too far outdated.
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/graphics/shaderc/Makefile,v
> diff -u -p -r1.5 Makefile
> --- Makefile 24 May 2024 07:08:28 -0000 1.5
> +++ Makefile 17 Dec 2025 07:50:05 -0000
> @@ -1,9 +1,8 @@
> COMMENT = SL/HLSL to SPIR-V shader compiler
> -REVISION = 0
>
> -DIST_TUPLE = github google shaderc v2024.0 .
> +DIST_TUPLE = github google shaderc v2025.5 .
>
> -SHARED_LIBS += shaderc_shared 1.0
> +SHARED_LIBS += shaderc_shared 1.1
>
> CATEGORIES = graphics
>
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/graphics/shaderc/distinfo,v
> diff -u -p -r1.3 distinfo
> --- distinfo 25 Mar 2024 12:27:24 -0000 1.3
> +++ distinfo 17 Dec 2025 07:50:05 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (google-shaderc-v2024.0.tar.gz) = x2EETk4gS+jguaLXSU8IZxyjW5LEx5HHBJWUynUUGX8=
> -SIZE (google-shaderc-v2024.0.tar.gz) = 227125
> +SHA256 (google-shaderc-v2025.5.tar.gz) = /KUEGx/eptq6Fntj4E5V5QWfq0CCg0ISYWkzZkNEVEc=
> +SIZE (google-shaderc-v2025.5.tar.gz) = 228956
> Index: patches/patch-CMakeLists_txt
> ===================================================================
> RCS file: /cvs/ports/graphics/shaderc/patches/patch-CMakeLists_txt,v
> diff -u -p -r1.3 patch-CMakeLists_txt
> --- patches/patch-CMakeLists_txt 25 Mar 2024 12:27:24 -0000 1.3
> +++ patches/patch-CMakeLists_txt 17 Dec 2025 07:50:05 -0000
> @@ -3,7 +3,7 @@ disable bundled dependencies
> Index: CMakeLists.txt
> --- CMakeLists.txt.orig
> +++ CMakeLists.txt
> -@@ -120,7 +120,7 @@ endif(MSVC)
> +@@ -130,7 +130,7 @@ endif(MSVC)
>
> # Configure subdirectories.
> # We depend on these for later projects, so they should come first.
> Index: patches/patch-glslc_CMakeLists_txt
> ===================================================================
> RCS file: /cvs/ports/graphics/shaderc/patches/patch-glslc_CMakeLists_txt,v
> diff -u -p -r1.3 patch-glslc_CMakeLists_txt
> --- patches/patch-glslc_CMakeLists_txt 24 May 2024 07:08:28 -0000 1.3
> +++ patches/patch-glslc_CMakeLists_txt 17 Dec 2025 07:50:05 -0000
> @@ -13,11 +13,11 @@ Index: glslc/CMakeLists.txt
> $<$<BOOL:${SHADERC_ENABLE_WGSL_OUTPUT}>:libtint> # Tint libraries, optional
> shaderc_util shaderc # internal Shaderc libraries
> ${CMAKE_THREAD_LIBS_INIT})
> -@@ -53,7 +53,6 @@ shaderc_default_compile_options(glslc_exe)
> - target_include_directories(glslc_exe PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/.. ${spirv-tools_SOURCE_DIR}/include)
> - set_target_properties(glslc_exe PROPERTIES OUTPUT_NAME glslc)
> - target_link_libraries(glslc_exe PRIVATE glslc shaderc_util shaderc)
> --add_dependencies(glslc_exe build-version)
> +@@ -54,7 +54,6 @@ if(SHADERC_ENABLE_EXECUTABLES)
> + target_include_directories(glslc_exe PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/.. ${spirv-tools_SOURCE_DIR}/include)
> + set_target_properties(glslc_exe PROPERTIES OUTPUT_NAME glslc)
> + target_link_libraries(glslc_exe PRIVATE glslc shaderc_util shaderc)
> +- add_dependencies(glslc_exe build-version)
> + endif(SHADERC_ENABLE_EXECUTABLES)
>
> shaderc_add_tests(
> - TEST_PREFIX glslc
> Index: patches/patch-glslc_test_CMakeLists_txt
> ===================================================================
> RCS file: /cvs/ports/graphics/shaderc/patches/patch-glslc_test_CMakeLists_txt,v
> diff -u -p -r1.2 patch-glslc_test_CMakeLists_txt
> --- patches/patch-glslc_test_CMakeLists_txt 25 Mar 2024 12:27:24 -0000 1.2
> +++ patches/patch-glslc_test_CMakeLists_txt 17 Dec 2025 07:50:05 -0000
> @@ -3,11 +3,12 @@ use system' spriv-tools not the bundled
> Index: glslc/test/CMakeLists.txt
> --- glslc/test/CMakeLists.txt.orig
> +++ glslc/test/CMakeLists.txt
> -@@ -23,6 +23,6 @@ if(${SHADERC_ENABLE_TESTS})
> - add_test(NAME glslc_tests
> - COMMAND ${Python_EXECUTABLE}
> - ${CMAKE_CURRENT_SOURCE_DIR}/glslc_test_framework.py
> -- $<TARGET_FILE:glslc_exe> $<TARGET_FILE:spirv-dis>
> -+ $<TARGET_FILE:glslc_exe> spirv-dis
> - --test-dir ${CMAKE_CURRENT_SOURCE_DIR})
> - endif()
> +@@ -27,7 +27,7 @@ if(${SHADERC_ENABLE_TESTS})
> + add_test(NAME glslc_tests
> + COMMAND ${Python_EXECUTABLE}
> + ${CMAKE_CURRENT_SOURCE_DIR}/glslc_test_framework.py
> +- $<TARGET_FILE:glslc_exe> $<TARGET_FILE:spirv-dis>
> ++ $<TARGET_FILE:glslc_exe> spirv-dis
> + --test-dir ${CMAKE_CURRENT_SOURCE_DIR})
> + endif()
> +
>
[update] shaderc 2025.5