Flight Log / shader-slang/slang #7585
Make copysign function differentiable — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in shader-slang/slang on Jul 2, 2025; merged after rework in 2.3 d: +254 −48, 5 files, 10 reviews.
- Lines
- +254 −48
- Files
- 5
- Commits
- 6
- Reviews
- 10 (1 ✕)
- To merge
- 2.3 d
- Task
- feat
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
GitHub Copilot opened a feat pull request to shader-slang/slang making the copysign function differentiable after it failed to compile under automatic differentiation. The change touched five files, with 254 additions and 48 deletions across six commits. Ten reviews were recorded, one requesting changes. The pull request merged after rework, 55.94 hours after opening.
“Please update the test to fix the failed CI.”
— from the review (source)
From the pull request description
The `copysign` function was not differentiable in Slang, causing compilation errors when used in automatic differentiation contexts: ```slang [Differentiable] float myFunction(float3 normal) { float sign = copysign(1.0, normal.z); // Error 41020: non-backward-differentiable function return…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —reviewed
- —reviewed
- —committedcopilot-swe-agent[bot]
- —reviewed
- —reviewed
- —committedcopilot-swe-agent[bot]
- Jul 2, 2025labeledcsyonghe
- Jul 2, 2025changes requestedkaizhangNV↗
Read next
Cite this flight: AgentRiders Flight Log, shader-slang/slang#7585, record updated Nov 3, 2026, https://agentriders.com/logs/shader-slang/slang/7585/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.