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

WGSL: Fix issue where swizzle L-values are generated #5682

Merged
merged 4 commits into from
Nov 26, 2024

Conversation

aleino-nv
Copy link
Collaborator

Swizzle L-values are not allowed in WGSL: gpuweb/gpuweb#4833

This closes #5603

The following tests are enabled

- tests/language-feature/swizzles/matrix-swizzle-write-swizzle.slang
- tests/language-feature/swizzles/matrix-swizzle-write-array.slang

This closes shader-slang#5603.
@aleino-nv aleino-nv requested a review from a team as a code owner November 26, 2024 12:04
@aleino-nv aleino-nv added the pr: non-breaking PRs without breaking changes label Nov 26, 2024
@aleino-nv aleino-nv enabled auto-merge (squash) November 26, 2024 12:04
@aleino-nv
Copy link
Collaborator Author

/format

@slangbot
Copy link
Contributor

🌈 Formatted, please merge the changes from this PR

Copy link
Collaborator

@cheneym2 cheneym2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aleino-nv aleino-nv merged commit 915e05d into shader-slang:master Nov 26, 2024
15 checks passed
@jkwak-work
Copy link
Collaborator

Looks good to me.

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: Assign to swizzle expression not allowed
4 participants