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

[HLSL] Array by-value assignment #109043

Open
spall opened this issue Sep 17, 2024 · 0 comments · May be fixed by #109323
Open

[HLSL] Array by-value assignment #109043

spall opened this issue Sep 17, 2024 · 0 comments · May be fixed by #109323
Assignees
Labels
HLSL HLSL Language Support

Comments

@spall
Copy link
Contributor

spall commented Sep 17, 2024

Currently arrays are not assignable.
The following code should compile successfully:

export void fn() { int Arr[2] = {1, 2}; int Arr2[2] = {0, 0}; Arr2 = Arr; }

@spall spall self-assigned this Sep 17, 2024
@EugeneZelenko EugeneZelenko added HLSL HLSL Language Support and removed new issue labels Sep 17, 2024
@spall spall linked a pull request Sep 19, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HLSL HLSL Language Support
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

2 participants