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

Move global variable initialization into entry points for WGSL #6106

Merged
merged 3 commits into from
Jan 17, 2025

Conversation

aleino-nv
Copy link
Collaborator

This just adds a call to the common function moveGlobalVarInitializationToEntryPoints.

This closes #5986.

@aleino-nv aleino-nv requested a review from a team as a code owner January 16, 2025 12:17
@aleino-nv aleino-nv added the pr: non-breaking PRs without breaking changes label Jan 16, 2025
@csyonghe csyonghe merged commit dfb369e into shader-slang:master Jan 17, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: non-breaking PRs without breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

wgsl output generated some funky invalid code for static globals defined with function calls
2 participants