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 auto-diff synthesized method naming conventions #4714

Merged
merged 5 commits into from
Aug 6, 2024

Conversation

saipraveenb25
Copy link
Collaborator

@saipraveenb25 saipraveenb25 commented Jul 23, 2024

Avoid modifying the name of types that already have a name.. this was causing us to rename self-differential types into s_diff_<typename> and messing up the emitted code.

Resolves: #4178

csyonghe
csyonghe previously approved these changes Jul 24, 2024
@csyonghe
Copy link
Collaborator

There are test failures that need to be fixed.

@saipraveenb25 saipraveenb25 added the pr: non-breaking PRs without breaking changes label Aug 6, 2024
@saipraveenb25 saipraveenb25 merged commit 366c9b4 into shader-slang:master Aug 6, 2024
11 of 12 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.

AD Cleanup: Fix confusing naming conventions for synthesized methods and types
2 participants