Skip to content

build(deps): update SPIRV-Tools to v2025.5 and SPIRV-Headers to its pinned revision - #5319

Merged
oneandonlydean merged 1 commit into
boykopovar:mainfrom
queeeef:build/spirv-tools-2025.5
Oct 18, 2026
Merged

oneandonlydean merged 1 commit into
boykopovar:mainfrom
queeeef:build/spirv-tools-2025.5

Conversation

@queeeef

@queeeef queeeef commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

What

Moves 3rdparty/SPIRV-Tools from v2025.4 to v2025.5 and 3rdparty/SPIRV-Headers from 01e057791 to b824a462d, the revision v2025.5's DEPS pins.

  • Why: v2025.4 and the current SPIRV-Headers predate SPV_KHR_fma. With ANYPS5_ENABLE_SPIRV_TOOLS=ON, spirv-val rejects the FMAKHR capability (Invalid capability operand: 6030), and spv::OpFmaKHR / spv::CapabilityFMAKHR do not exist. adriadam10 found this in the review of perf(shader): compute v_pk_fma_f16 and v_pk_fmac_f16 with OpFmaKHR #4072.
  • Why this version: v2025.5 is the first release with spirv-val: Add validation for SPV_KHR_fma (8f9381775). b824a462d contains the SPV_KHR_fma headers update (9268f3057). It is the smallest step from the current pins that has both; later releases (v2026.1 to v2026.4) also have them.
  • glslang is built with ENABLE_OPT OFF and keeps its own SPIR-V headers, so it is unaffected.

No source changes. #4072 is rebased onto this and drops its own definitions of the opcode and capability.

Tested

Windows 11 Pro 26300, MinGW-w64 GCC 15.2.0 (WinLibs r7), Ninja, Release, BUILD_TESTING=ON, ANYPS5_ENABLE_SPIRV_TOOLS=ON (the Linux CI configuration), on main 0214069e3.

  • Build: clean.
  • Full suite: ctest --timeout 120 --parallel 12 -E '^agc_driver_bda_device$': 1102 tests passed, 0 failed, 8 skipped.
    • check_skips.py --job windows flags one of the 8: guest_video_out_high_frame_rate (current display does not provide 120 Hz). It is a property of this monitor, not of the change.
    • agc_driver_bda_device was not run: an older base lost the device in it on this machine, which also resets the display.
  • Repo checks: check_conventions.py --base 0214069e3 and git diff --check pass.

Not tested: Linux, ANYPS5_USE_SYSTEM_DEPS.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Unblocks: perf(shader): compute v_pk_fma_f16 and v_pk_fmac_f16 with OpFmaKHR #4072
  • GPUs tested: NVIDIA GeForce RTX 2080 Ti, driver 610.74, Windows 11 Pro 26300
  • AI-assisted: yes (Claude Code)

🤖 Generated with Claude Code

…inned revision

SPIRV-Tools v2025.4 and the SPIRV-Headers revision before it predate
SPV_KHR_fma, so spirv-val rejects the FMAKHR capability (6030) and
spv::OpFmaKHR does not exist. v2025.5 is the first release with
SPV_KHR_fma validation (8f9381775). SPIRV-Headers moves to b824a462d,
the revision v2025.5's DEPS pins, which includes the SPV_KHR_fma
headers update (9268f3057).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the build label Oct 13, 2026
@adriadam10 adriadam10 self-assigned this Oct 14, 2026
@oneandonlydean
oneandonlydean merged commit d7a455a into boykopovar:main Oct 18, 2026
8 checks passed
@oneandonlydean

Copy link
Copy Markdown
Collaborator

Merged while @adriadam10 is away: the review passed and full CI is green on this head.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants