| 163 | return s->cb; |
| 164 | } |
| 165 | void end_encoder(StreamImpl* s) { |
| 166 | if (s->enc) { s->enc->endEncoding(); s->enc = nullptr; } |
| 167 | } |
| 168 | MTL::ComputeCommandEncoder* encoder(StreamImpl* s) { |
| 169 | if (!s->enc) s->enc = open_cb(s)->computeCommandEncoder(); // serial dispatch: each dispatch sees the last |
| 170 | return s->enc; |
no outgoing calls
no test coverage detected