@@ -21,7 +21,7 @@ macro_rules! deriv_fn {
21
21
/// Types that can be derived by partial derivatives
22
22
pub unsafe trait Derivative : Sealed + Default {
23
23
/// Result is the partial derivative of `Self` with respect to the window x coordinate. Uses local differencing
24
- /// based on the value of `Self`. Same result as either [`dfdx_fine`] or [`dfdx_coarse`] on `Self`. Selection of which
24
+ /// based on the value of `Self`. Same result as either [`Self:: dfdx_fine`] or [`Self:: dfdx_coarse`] on `Self`. Selection of which
25
25
/// one is based on external factors.
26
26
///
27
27
/// An invocation will not execute a dynamic instance of this instruction (X') until all invocations in its
@@ -50,7 +50,7 @@ pub unsafe trait Derivative: Sealed + Default {
50
50
/// Result is the partial derivative of `Self` with respect to the window x coordinate. Uses local differencing
51
51
/// based on the value of `Self` for the current fragment’s neighbors, and possibly, but not necessarily, includes
52
52
/// the value of `Self` for the current fragment. That is, over a given area, the implementation can compute x
53
- /// derivatives in fewer unique locations than would be allowed for [`dfdx_fine`].
53
+ /// derivatives in fewer unique locations than would be allowed for [`Self:: dfdx_fine`].
54
54
///
55
55
/// An invocation will not execute a dynamic instance of this instruction (X') until all invocations in its
56
56
/// derivative group have executed all dynamic instances that are program-ordered before X'.
@@ -63,7 +63,7 @@ pub unsafe trait Derivative: Sealed + Default {
63
63
}
64
64
65
65
/// Result is the partial derivative of `Self` with respect to the window y coordinate. Uses local differencing
66
- /// based on the value of `Self`. Same result as either [`dfdy_fine`] or [`dfdy_coarse`] on `Self`. Selection of which
66
+ /// based on the value of `Self`. Same result as either [`Self:: dfdy_fine`] or [`Self:: dfdy_coarse`] on `Self`. Selection of which
67
67
/// one is based on external factors.
68
68
///
69
69
/// An invocation will not execute a dynamic instance of this instruction (X') until all invocations in its
@@ -92,7 +92,7 @@ pub unsafe trait Derivative: Sealed + Default {
92
92
/// Result is the partial derivative of `Self` with respect to the window y coordinate. Uses local differencing
93
93
/// based on the value of `Self` for the current fragment’s neighbors, and possibly, but not necessarily, includes
94
94
/// the value of `Self` for the current fragment. That is, over a given area, the implementation can compute y
95
- /// derivatives in fewer unique locations than would be allowed for [`dfdy_fine`].
95
+ /// derivatives in fewer unique locations than would be allowed for [`Self:: dfdy_fine`].
96
96
///
97
97
/// An invocation will not execute a dynamic instance of this instruction (X') until all invocations in its
98
98
/// derivative group have executed all dynamic instances that are program-ordered before X'.
@@ -104,7 +104,7 @@ pub unsafe trait Derivative: Sealed + Default {
104
104
deriv_fn ! ( OpDPdyCoarse , self )
105
105
}
106
106
107
- /// Result is the same as computing the sum of the absolute values of [`dfdx`] and [`dfdy`] on P.
107
+ /// Result is the same as computing the sum of the absolute values of [`Self:: dfdx`] and [`Self:: dfdy`] on P.
108
108
///
109
109
/// An invocation will not execute a dynamic instance of this instruction (X') until all invocations in its
110
110
/// derivative group have executed all dynamic instances that are program-ordered before X'.
@@ -116,7 +116,7 @@ pub unsafe trait Derivative: Sealed + Default {
116
116
deriv_fn ! ( OpFwidth , self )
117
117
}
118
118
119
- /// Result is the same as computing the sum of the absolute values of [`dfdx_fine`] and [`dfdy_fine`] on P.
119
+ /// Result is the same as computing the sum of the absolute values of [`Self:: dfdx_fine`] and [`Self:: dfdy_fine`] on P.
120
120
///
121
121
/// An invocation will not execute a dynamic instance of this instruction (X') until all invocations in its
122
122
/// derivative group have executed all dynamic instances that are program-ordered before X'.
@@ -128,7 +128,7 @@ pub unsafe trait Derivative: Sealed + Default {
128
128
deriv_fn ! ( OpFwidthFine , self )
129
129
}
130
130
131
- /// Result is the same as computing the sum of the absolute values of [`dfdx_coarse`] and [`dfdy_coarse`] on P.
131
+ /// Result is the same as computing the sum of the absolute values of [`Self:: dfdx_coarse`] and [`Self:: dfdy_coarse`] on P.
132
132
///
133
133
/// An invocation will not execute a dynamic instance of this instruction (X') until all invocations in its
134
134
/// derivative group have executed all dynamic instances that are program-ordered before X'.
0 commit comments