Skip to content

Commit

Permalink
yes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kbz-8 committed Oct 19, 2024
1 parent 632117a commit 5945549
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/Sources/Renderer/Descriptor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 5945549

Please sign in to comment.