Skip to content

layers: Cleanup submit time tracker#12069

Merged
artem-lunarg merged 1 commit intoKhronosGroup:mainfrom
artem-lunarg:artem-submit-time-cleanup
Apr 10, 2026
Merged

layers: Cleanup submit time tracker#12069
artem-lunarg merged 1 commit intoKhronosGroup:mainfrom
artem-lunarg:artem-submit-time-cleanup

Conversation

@artem-lunarg
Copy link
Copy Markdown
Contributor

Make validity check part of timeline queries.
In the initial version CanBeResolved missed semaphore validity check

@ci-tester-lunarg
Copy link
Copy Markdown
Collaborator

CI Vulkan-ValidationLayers build queued with queue ID 704411.

@artem-lunarg artem-lunarg marked this pull request as ready for review April 10, 2026 13:44
@artem-lunarg artem-lunarg requested a review from a team as a code owner April 10, 2026 13:44
@ci-tester-lunarg
Copy link
Copy Markdown
Collaborator

CI Vulkan-ValidationLayers build # 23096 running.

@@ -180,20 +170,34 @@ bool SubmitTimeTracker::PropagateTimelineSignals() {

bool SubmitTimeTracker::CanBeResolved(const UnresolvedBatch& batch) const {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so even if ALL unresolved_timeline_waits are invalid (GetTimelineValue returns null) we will still return true here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that's the intention.
a) it means there are other error reported elsewhere (like semaphore delete while still in use).
b) then we allow to resolve batch (remove from list) otherwise the queue will grow forever beause of blocking batch.

Make validity check part of timeline queries.
In the initial version CanBeResolved missed semaphore validity check
@artem-lunarg artem-lunarg force-pushed the artem-submit-time-cleanup branch from 4fe4b3a to d989ced Compare April 10, 2026 13:55
@ci-tester-lunarg
Copy link
Copy Markdown
Collaborator

CI Vulkan-ValidationLayers build queued with queue ID 704449.

@ci-tester-lunarg
Copy link
Copy Markdown
Collaborator

CI Vulkan-ValidationLayers build # 23098 running.

@ci-tester-lunarg
Copy link
Copy Markdown
Collaborator

CI Vulkan-ValidationLayers build # 23098 failed.

@ci-tester-lunarg
Copy link
Copy Markdown
Collaborator

CI Vulkan-ValidationLayers build queued with queue ID 704563.

@ci-tester-lunarg
Copy link
Copy Markdown
Collaborator

CI Vulkan-ValidationLayers build # 23100 running.

@ci-tester-lunarg
Copy link
Copy Markdown
Collaborator

CI Vulkan-ValidationLayers build # 23100 passed.

@artem-lunarg artem-lunarg merged commit ba774d9 into KhronosGroup:main Apr 10, 2026
20 checks passed
@artem-lunarg artem-lunarg deleted the artem-submit-time-cleanup branch April 10, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants