Skip to content

Update SPIRV-Tools to remove unused tools/sva directory#8432

Merged
alsepkow merged 3 commits into
microsoft:release-1.9.2602from
alsepkow:user/alsepkow/update-spirv-tools-cve
May 11, 2026
Merged

Update SPIRV-Tools to remove unused tools/sva directory#8432
alsepkow merged 3 commits into
microsoft:release-1.9.2602from
alsepkow:user/alsepkow/update-spirv-tools-cve

Conversation

@alsepkow
Copy link
Copy Markdown
Contributor

@alsepkow alsepkow commented May 8, 2026

Update SPIR-V tools submodule to commit which removes unused tools/sva directory.

@alsepkow alsepkow force-pushed the user/alsepkow/update-spirv-tools-cve branch from 80531bc to bc47be3 Compare May 8, 2026 20:56
The tools/sva directory contained npm dependencies with known
CVEs (cross-spawn, braces, minimatch, rollup, etc). SVA was an
unmaintained SPIR-V assembler web tool that was removed upstream
in KhronosGroup/SPIRV-Tools#6550.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@alsepkow alsepkow force-pushed the user/alsepkow/update-spirv-tools-cve branch from bc47be3 to 8a977e3 Compare May 8, 2026 20:59
@alsepkow
Copy link
Copy Markdown
Contributor Author

alsepkow commented May 8, 2026

Discussed offline to instead take the latest RC candidate from main. #8415

Updating to that.

SPIRV-Tools at b2033ea8 requires SPIRV-Headers f88a2d76.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@alsepkow alsepkow force-pushed the user/alsepkow/update-spirv-tools-cve branch from db67b3b to ff01b01 Compare May 9, 2026 00:03
@tex3d
Copy link
Copy Markdown
Contributor

tex3d commented May 11, 2026

It looks like we also need to take changes from #8167 due to multi-dim resource array handling changes in this version of SPIR-V tools.

I expect that this SPIR-V Tools update only produces better/more-correct output for SPIR-V and is safe to take, but it would still be good to get the opinion of @s-perron to confirm that this change is ok for this release branch, in case we were to roll a point-release update from it.

…rays

The SPIRV-Tools update includes the multi-dimensional resource array
linearization pass (LegalizeMultidimArrayPass). This cherry-picks the
DXC-side handling from PR microsoft#8167 to properly support the new pass output.

Changes by Steven Perron (s-perron).

Co-authored-by: Steven Perron <stevenperron@google.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@tex3d tex3d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@s-perron
Copy link
Copy Markdown
Collaborator

Yes, that should be fine to take.

@alsepkow alsepkow merged commit 54826de into microsoft:release-1.9.2602 May 11, 2026
13 checks passed
@github-project-automation github-project-automation Bot moved this from New to Done in HLSL Roadmap May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants