Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
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