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

Uncomment a previously failing test case #6303

Merged
merged 3 commits into from
Feb 7, 2025

Conversation

aleino-nv
Copy link
Collaborator

This case now parses after the following PR was merged. #6281

This case now parses after the following PR was merged.
shader-slang#6281
@aleino-nv aleino-nv requested a review from a team as a code owner February 6, 2025 06:06
@aleino-nv aleino-nv added the pr: non-breaking PRs without breaking changes label Feb 6, 2025
@@ -745,8 +745,7 @@ void computeMain()
nb = input[463];
nc = input[464];
output[208] = uint(na >> nb < nc);
// error 39999: expected a generic when using '<...>' (found: 'uint')
// output[209] = uint(na < nb >> nc);
output[209] = uint(na < nb >> nc);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do you also need to modify the expected result?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No, it was already 0. (na, nb, nc = 3,8,7 and it should be evaluated like like 3 < (8 >> 7) = 3 < 0 = 0)

@aleino-nv aleino-nv enabled auto-merge (squash) February 6, 2025 09:09
@aleino-nv aleino-nv requested a review from csyonghe February 6, 2025 12:07
@csyonghe csyonghe disabled auto-merge February 7, 2025 06:05
@csyonghe csyonghe merged commit f5551eb into shader-slang:master Feb 7, 2025
15 of 16 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.

2 participants