Skip to content

sync: Capture secondary recordings for replay - #13844

Merged
artem-lunarg merged 1 commit into
KhronosGroup:mainfrom
artem-lunarg:artem-sync-command-buffer-recording-prep
Dec 4, 2026
Merged

artem-lunarg merged 1 commit into
KhronosGroup:mainfrom
artem-lunarg:artem-sync-command-buffer-recording-prep

Conversation

@artem-lunarg

@artem-lunarg artem-lunarg commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

More of syncval preparation for fine-grained locking. Avoid nested command buffer locking. During ExecuteCommand we locked secondaries while keeping the primary lock. This change at first collects all secondaries with quick locks, then lock the primary when all secondary locks are released.

Also experimenting with removing error prone resets (to preserve allocated vector storage) and instead create new instance. Will revert if detect performance issues.

@artem-lunarg
artem-lunarg marked this pull request as ready for review December 4, 2026 20:09
@artem-lunarg
artem-lunarg requested a review from a team as a code owner December 4, 2026 20:09

@spencer-lunarg spencer-lunarg left a comment

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.

I like deleting code!

@artem-lunarg
artem-lunarg merged commit 6ce8dec into KhronosGroup:main Dec 4, 2026
29 checks passed
@artem-lunarg
artem-lunarg deleted the artem-sync-command-buffer-recording-prep branch December 4, 2026 21:50
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.

2 participants