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

Zero init variables in function and private address spaces #1871

Merged
merged 2 commits into from
May 10, 2022

Conversation

teoxoy
Copy link
Member

@teoxoy teoxoy commented Apr 29, 2022

Zero init variables in function and private address spaces for SPIR-V backend and variables in function address space for MSL.

With these changes we should now cover all backends.

fixes #1748
fixes #701

Previous work for GLSL and HLSL backends:
#1135
#1075

@teoxoy teoxoy merged commit b3d5e6d into gfx-rs:master May 10, 2022
@teoxoy teoxoy deleted the zero-init branch May 10, 2022 08:44
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.

[spir-v] Invalid result when using implicitly initialized array Initialize local variables to zero
2 participants