Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 30b3b3d

Browse files
committed
added comment
1 parent c709f39 commit 30b3b3d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

impeller/renderer/backend/vulkan/command_encoder_vk.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ class TrackedObjectsVK {
8080

8181
private:
8282
DescriptorPoolVK desc_pool_;
83+
// `shared_ptr` since command buffers have a link to the command pool.
8384
std::shared_ptr<CommandPoolVK> pool_;
8485
vk::UniqueCommandBuffer buffer_;
8586
std::set<std::shared_ptr<SharedObjectVK>> tracked_objects_;

0 commit comments

Comments
 (0)