Skip to content

sync: Introduce command objects for validation - #12936

Merged
artem-lunarg merged 1 commit into
KhronosGroup:mainfrom
artem-lunarg:artem-sync-command-buffer-copy
Aug 25, 2026
Merged

sync: Introduce command objects for validation#12936
artem-lunarg merged 1 commit into
KhronosGroup:mainfrom
artem-lunarg:artem-sync-command-buffer-copy

Conversation

@artem-lunarg

Copy link
Copy Markdown
Contributor

Move vkCmdCopyBuffer record-time validation into BufferCopyCommand.

Introduce initial design concepts that are not used yet.

BufferCopyCommand::Storage is a compact representation of the command. It will be stored during command buffer recording. The validation itself works with full BufferCopyCommand.

CommandData stores variable-sized data and avoids per-command allocations and can support deduplication if needed.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI Vulkan-ValidationLayers build queued with queue ID 90003.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI Vulkan-ValidationLayers build # 24246 running.

Comment thread layers/containers/span.h
using const_pointer = T const *;
using iterator = Iterator;
using const_iterator = const Iterator;
using value_type = std::remove_cv_t<T>;

@artem-lunarg artem-lunarg Aug 25, 2026

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.

This is to make vvl::enumerate work with vvl::span

@artem-lunarg
artem-lunarg marked this pull request as ready for review August 25, 2026 13:20
@artem-lunarg
artem-lunarg requested a review from a team as a code owner August 25, 2026 13:20
Move vkCmdCopyBuffer record-time validation into BufferCopyCommand.

Introduce initial design concepts that are not used yet.

BufferCopyCommand::Storage is a compact representation of the command.
It will be stored during command buffer recording. The validation itself
works with full BufferCopyCommand.

CommandData stores variable-sized data and avoids per-command allocations
and can support deduplication if needed.
@artem-lunarg
artem-lunarg force-pushed the artem-sync-command-buffer-copy branch from 6e33b2a to 610f836 Compare August 25, 2026 13:53
@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI Vulkan-ValidationLayers build queued with queue ID 90079.

@artem-lunarg artem-lunarg changed the title sync: Begin BufferCopyCommand validation migration sync: Introduce command objects for validation Aug 25, 2026
@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI Vulkan-ValidationLayers build # 24250 running.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI Vulkan-ValidationLayers build # 24250 passed.

@artem-lunarg
artem-lunarg merged commit 8626abf into KhronosGroup:main Aug 25, 2026
21 checks passed
@artem-lunarg
artem-lunarg deleted the artem-sync-command-buffer-copy branch August 25, 2026 17:26
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