Skip to content

spirv-opt: make traversal deterministic - #5790

Merged
s-perron merged 1 commit into
KhronosGroup:mainfrom
Keenuts:fix-6804
Sep 9, 2024
Merged

s-perron merged 1 commit into
KhronosGroup:mainfrom
Keenuts:fix-6804

Conversation

@Keenuts

@Keenuts Keenuts commented Sep 9, 2024

Copy link
Copy Markdown
Contributor

The unordered_map was used to re-emit some IDs, meaning the order could change depending on the hashtable usage.
This could cause instability in the DXC codegen.

Related to microsoft/DirectXShaderCompiler#6804

@Keenuts
Keenuts requested a review from s-perron September 9, 2024 11:28
@s-perron
s-perron merged commit 07f49ce into KhronosGroup:main Sep 9, 2024
@Keenuts
Keenuts deleted the fix-6804 branch September 9, 2024 13:30
Keenuts added a commit to Keenuts/SPIRV-Tools that referenced this pull request Nov 12, 2024
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.

2 participants