Skip to content

[SPIRV] Add warning for initialized globals #7448

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

Merged
merged 2 commits into from
May 15, 2025
Merged

Conversation

s-perron
Copy link
Collaborator

To be consistent with DXIL, we will start emitting a warning for
extenally visible variables that have an initializer. Until now, there
were silently ignored.

Fixes #3950

To be consistent with DXIL, we will start emitting a warning for
extenally visible variables that have an initializer. Until now, there
were silently ignored.

Fixes microsoft#3950
@s-perron s-perron enabled auto-merge (squash) May 15, 2025 18:41
@s-perron s-perron merged commit 2421964 into microsoft:main May 15, 2025
12 checks passed
@github-project-automation github-project-automation bot moved this from New to Done in HLSL Roadmap May 15, 2025
@s-perron s-perron deleted the i3950 branch May 28, 2025 14:37
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.

[SPIR-V] assigning default value to an external global silently fails without warning
3 participants