Skip to content

Fix concurrent dxilconv pass initialization - #8820

Draft
Damyan Pepper (damyanp) wants to merge 2 commits into
microsoft:mainfrom
damyanp:damyanp-fix-dxilconv-pass-registry
Draft

Fix concurrent dxilconv pass initialization#8820
Damyan Pepper (damyanp) wants to merge 2 commits into
microsoft:mainfrom
damyanp:damyanp-fix-dxilconv-pass-registry

Conversation

@damyanp

Copy link
Copy Markdown
Member

Register all passes that dxilconv uses when the DLL starts. This prevents concurrent first conversions from modifying the global pass registry.

Add fresh-process tests that verify pass registration and convert 256 different DXBC shaders at the same time.

Fixes #8819

Register all passes used by the DXBC converter during DLL startup. Add fresh-process tests for the pass closure and concurrent conversion.

Fixes microsoft#8819

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 1147c945-f9cc-4aa3-8f58-e7238e0270ec
@github-actions

github-actions Bot commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

✅ With the latest revision this PR passed the C/C++ code formatter.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 1147c945-f9cc-4aa3-8f58-e7238e0270ec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

dxilconv: Concurrent first calls to IDxbcConverter::Convert cause a race during LLVM pass registration

1 participant