This commit is contained in:
2024-10-19 10:46:31 +02:00
parent 386d9abe4b
commit 4f755f8a6f

View File

@@ -234,6 +234,7 @@ namespace mlx
void DescriptorSet::Reallocate(std::size_t frame_index) noexcept
{
MLX_PROFILE_FUNCTION();
Assert(!p_pools_manager, "invalid pools manager");
m_set[frame_index] = p_pools_manager->GetAvailablePool().AllocateDescriptorSet(frame_index, m_set_layout);
}
}