| 279 | } |
| 280 | |
| 281 | CommandEncoder::~CommandEncoder() { |
| 282 | exiting_ = true; |
| 283 | synchronize(); |
| 284 | auto pool = new_scoped_memory_pool(); |
| 285 | buffer_.reset(); |
| 286 | queue_.reset(); |
| 287 | } |
| 288 | |
| 289 | void CommandEncoder::set_buffer( |
| 290 | const MTL::Buffer* buf, |
nothing calls this directly
no test coverage detected