Skip to content

Vulkan/SPIR-V: update to 1.4.357.0; glslang 16.5.0; - #61950

Open
Rutpiv wants to merge 13 commits into
void-linux:masterfrom
Rutpiv:vulkan
Open

Vulkan/SPIR-V: update to 1.4.357.0; glslang 16.5.0;#61950
Rutpiv wants to merge 13 commits into
void-linux:masterfrom
Rutpiv:vulkan

Conversation

@Rutpiv

@Rutpiv Rutpiv commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Testing the changes

  • I tested the changes in this PR: briefly

Local build testing

  • I built this PR locally for my native architecture, (x86_64-glibc)
  • I built this PR locally for these architectures using specific masterdirs:
    • x86_64-musl
    • i686
  • I built this PR locally for these architectures (crossbuilds):
    • aarch64
    • aarch64-musl
    • armv7l
    • armv7l-musl
    • armv6l
    • armv6l-musl

@Rutpiv

Rutpiv commented Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

Opening as a draft while the SPIRV-Tools side is still pending; the remaining work is tracked in KhronosGroup/SPIRV-Tools/issues/6814, which has the context on why the bump is held.

Marking ready for review once that lands. Feedback on the templates in the meantime is welcome.

@Rutpiv

Rutpiv commented Aug 17, 2026

Copy link
Copy Markdown
Contributor Author

Vulkan SDK 1.4.357.0

Coordinated bump of the Vulkan/SPIR-V stack, with the fixes it exposed.

SPIRV-Headers 1.4.350.1 -> 1.4.357.0,

SPIRV-Tools 2026.2 -> 2026.3.

SPIRV-LLVM-Translator{19,21,22} 19.1.18 -> 19.1.21, 21.1.7 -> 21.1.10, 22.1.2 -> 22.1.5.

  • 21, 22: add -DLLVM_SPIRV_ENABLE_LIBSPIRV_DIS=ON. Upstream made --spirv-tools-dis opt-in after the 19.1.x branch, so 21 and 22 silently lost a feature 19 still has. SPIRV-Tools links statically, so no new runtime dependency.
  • Drop clang${_llvm_ver}: no find_package(Clang) in the tree and the build never invokes clang, so -DClang_DIR was a no-op.
  • Drop llvm${_llvm_ver}: LLVM binaries are only used under LLVM_SPIRV_INCLUDE_TESTS, which is off, and find_package(LLVM) resolves from llvm${_llvm_ver}-devel in the target root.
  • LLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR uses ${XBPS_CROSS_BASE}/usr instead of a hardcoded /usr.

Vulkan-Headers 1.4.350.1 -> 1.4.357.0,

  • license corrected to Apache-2.0 OR MIT; registry/parse_dependency.py, which is installed, is MIT only.

vulkan-loader, Vulkan-Tools, Vulkan-Utility-Libraries, Vulkan-ValidationLayers

  • Drop the *_INSTALL_DIR args. Upstream either reads them only under a codegen option that is off, or from a subdirectory scope that never reaches the find_package calls. The cross toolchain's CMAKE_FIND_ROOT_PATH already covers it.
  • Add libX11-devel (and libxcb-devel for VVL). The WSI options default on and their pkg_check_modules calls are REQUIRED; these were arriving transitively via libXrandr-devel.
  • Drop dead hostmakedepends: python3 and glslang from Vulkan-Tools, pkg-config from Vulkan-Utility-Libraries.
  • -DUPDATE_DEPS=OFF kept in VVL and load-bearing: unlike the other SDK repos, this one defaults it to ON.

zeux-volk 1.4.350.1 -> 1.4.357.0. Keeps -DVULKAN_HEADERS_INSTALL_DIR; volk actually reads it, unlike the four above.

glslang 16.3.0 -> 16.5.0.

  • LDFLAGS="-Wl,-z,stack-size=2097152": musl sizes pthread stacks from PT_GNU_STACK and the test suite exhausts the default on x86_64-musl.
  • CMAKE_BUILD_TYPE=None plus -DNDEBUG instead of Release, so the xbps flags are honored. It cannot simply be dropped; upstream forces Debug when empty.
  • -DCMAKE_PREFIX_PATH added to both cmake calls: the custom do_configure bypasses the build style, so no cross toolchain file exists.
  • Drop bison (glslang_tab.cpp is pre-generated) and gtest-devel (ALLOW_EXTERNAL_GTEST is off, so that suite was never built).

shaderc 2026.2 -> 2026.3.

  • Add -DSHADERC_SKIP_COPYRIGHT_CHECK=ON: upstream registers check-copyright as an ALL target, linting the source tree on every build.

@Rutpiv
Rutpiv marked this pull request as ready for review August 17, 2026 02:53
@Rutpiv Rutpiv changed the title [WIP] Vulkan/SPIR-V: update to 1.4.357.0. Vulkan/SPIR-V: update to 1.4.357.0. Aug 17, 2026
@Rutpiv Rutpiv changed the title Vulkan/SPIR-V: update to 1.4.357.0. Vulkan/SPIR-V: update to 1.4.357.0; glslang 16.5.0; Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant