| 1688 | } |
| 1689 | |
| 1690 | auto TaskGraph::allocate_task_memory(usize size, usize align) -> void * |
| 1691 | { |
| 1692 | auto & impl = *reinterpret_cast<ImplTaskGraph *>(this->object); |
| 1693 | auto task_memory = impl.task_memory.allocate(size, align); |
| 1694 | DAXA_DBG_ASSERT_TRUE_M(task_memory != nullptr, "TaskGraph ran out of task memory, please increase the task memory pool"); |
| 1695 | return task_memory; |
| 1696 | } |
| 1697 | |
| 1698 | void validate_attachment_stages(ImplTask & task, TaskStages stage, u32 attach_i, std::string_view attach_name) |
| 1699 | { |