| 97 | } |
| 98 | |
| 99 | bool Lut1DOp::canCombineWith(ConstOpRcPtr & op) const |
| 100 | { |
| 101 | ConstLut1DOpRcPtr typedRcPtr = DynamicPtrCast<const Lut1DOp>(op); |
| 102 | if (typedRcPtr) |
| 103 | { |
| 104 | ConstLut1DOpDataRcPtr lutData = typedRcPtr->lut1DData(); |
| 105 | return lut1DData()->mayCompose(lutData); |
| 106 | } |
| 107 | |
| 108 | // TODO: drop a clampIdentity Range after an Inverse LUT. |
| 109 | return false; |
| 110 | } |
| 111 | |
| 112 | void Lut1DOp::combineWith(OpRcPtrVec & ops, ConstOpRcPtr & secondOp) const |
| 113 | { |
nothing calls this directly
no test coverage detected