summaryrefslogtreecommitdiff
path: root/tests/autodiff/custom-differential-type.slang
AgeCommit message (Collapse)Author
2025-10-02Fix the missing derivative member check (#8569)kaizhangNV
Close #8568. The root cause of this issue is that when the struct is indirectly inherited from IDifferentiable type, we will not check the reference of the DerivativeMember attribute. This PR fixes this issue by checking the DerivativeMember attribute right before synthesize the requirement methods of IDifferentiable interface.