Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid adding types to default namespace #6700

Merged
merged 3 commits into from
Jun 21, 2024
Merged

Conversation

s-perron
Copy link
Collaborator

Some of the types that have been added to the vk namespace were being
added to the default namespace when compiling for DXIL. The if
conditions were such that they would fall through to a default case.

The solution is to explicitly add code that we should skip adding those
builtin types when the vk namespace is not defined.

Fixes #6646.

Some of the types that have been added to the vk namespace were being
added to the default namespace when compiling for DXIL. The if
conditions were such that they would fall through to a default case.

The solution is to explicitly add code that we should skip adding those
builtin types when the vk namespace is not defined.

Fixes microsoft#6646.
@s-perron s-perron requested a review from a team as a code owner June 18, 2024 13:38
@s-perron s-perron requested review from Keenuts and llvm-beanz June 18, 2024 13:38
@s-perron
Copy link
Collaborator Author

@llvm-beanz Do you have any thoughts on where the tests should go?

@s-perron
Copy link
Collaborator Author

@llvm-beanz Let me know if this seems reasonable.

@s-perron s-perron enabled auto-merge (squash) June 21, 2024 13:56
@s-perron s-perron merged commit 8b18659 into microsoft:main Jun 21, 2024
12 checks passed
@s-perron s-perron deleted the i6646 branch September 12, 2024 13:43
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.

integral_constant is exposed to the global namespace in DXC (trunk)
3 participants