Skip to content

Commit 2e49c04

Browse files
committed
small comment edits
1 parent b870973 commit 2e49c04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/nbl/video/utilities/SIntendedSubmitInfo.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ struct SIntendedSubmitInfo final : core::Uncopyable
9191
// However, even though it's scratch, you can record some of your own preceding commands into it as well.
9292
std::span<IQueue::SSubmitInfo::SCommandBufferInfo> scratchCommandBuffers = {};
9393

94-
// This semaphore is needed to "stitch together" additional submits, ensuring they occur before and after the original intended signals and waits.
95-
// It also ensures safe usage of the scratch command buffers by blocking the CPU if the command buffer is in a PENDING state and not safe to begin.
94+
// This semaphore is needed to indicate when each sub-submit is complete and resources can be reclaimed.
95+
// It also ensures safe usage of the scratch command buffers by blocking the CPU if the next scratch command buffer to use is in a PENDING state and not safe to begin.
9696
// The initial `scratchSemaphore.value` gets incremented and signaled on each submit. It can start at 0 because an overflow will signal `value+1`.
9797
// NOTE: You should signal this semaphore when doing your last/tail submit manually OR when not submitting the recorded scratch at all
9898
// (in which case, signal from Host or another submit). Why? The utilities that deal with `SIntendedSubmitInfo` might use the

0 commit comments

Comments
 (0)