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

Fix wgsl legalization around __ref parameter. #5597

Merged
merged 3 commits into from
Nov 19, 2024

Conversation

csyonghe
Copy link
Collaborator

Closes #5596.

@csyonghe csyonghe requested a review from a team as a code owner November 19, 2024 21:46
@csyonghe csyonghe added the pr: non-breaking PRs without breaking changes label Nov 19, 2024
@saipraveenb25
Copy link
Collaborator

Looks good to me!

Maybe add the test code in the issue as a test?

saipraveenb25
saipraveenb25 previously approved these changes Nov 19, 2024
jkwak-work
jkwak-work previously approved these changes Nov 19, 2024
Copy link
Collaborator

@jkwak-work jkwak-work left a comment

Choose a reason for hiding this comment

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

Looks good to me.
It seems like the issue has a repo case.
Can we use it for testing, if we don't already have it yet?

@csyonghe
Copy link
Collaborator Author

@jkwak-work we are going to add more intrinsics using that rely on this fix, so it shall be covered when those intrinsics are added in a separate PR.

@jkwak-work
Copy link
Collaborator

@jkwak-work we are going to add more intrinsics using that rely on this fix, so it shall be covered when those intrinsics are added in a separate PR.

I see.

@csyonghe csyonghe dismissed stale reviews from jkwak-work and saipraveenb25 via 5a5fb55 November 19, 2024 22:05
@csyonghe
Copy link
Collaborator Author

@jkwak-work @saipraveenb25 I added the intrinsic and the test case.

Copy link
Collaborator

@jkwak-work jkwak-work left a comment

Choose a reason for hiding this comment

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

Looks good to me

@csyonghe csyonghe merged commit 1e7f541 into shader-slang:master Nov 19, 2024
14 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] __ref does not work as expected
3 participants