| 131 | } |
| 132 | |
| 133 | void |
| 134 | Exec_InputRecompilationTask::_Interrupt(Exec_CompilationState &compilationState) |
| 135 | { |
| 136 | // Any outputs that we would have connected to the recompiled input |
| 137 | // are now potentially isolated. |
| 138 | for (const auto &sourceOutputs : _resultOutputsPerInputKey) { |
| 139 | for (const auto &maskedOutput : sourceOutputs) { |
| 140 | if (VdfOutput *const output = maskedOutput.GetOutput()) { |
| 141 | compilationState.GetInterruptState() |
| 142 | .AddPotentiallyIsolatedNode(&output->GetNode()); |
| 143 | } |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | // Since this input never finished recompilation, it should be recompiled |
| 148 | // in the next round of compilation. |
| 149 | compilationState.GetInterruptState().AddInputRequiringRecompilation(_input); |
| 150 | } |
| 151 | |
| 152 | PXR_NAMESPACE_CLOSE_SCOPE |
nothing calls this directly
no test coverage detected