KhronosGroup / KhronosGroup/Vulkan-Docs

Implicit same-parent VUs incorrect

Open
#863 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.3k
Forks
549
Avg merge
5d 5h
Merged PRs (30d)
2

Description

Implicit same-parent VUs seem incorrect. E.g. `vkQueueSubmit` (resp. `VkSubmitInfo`) has:

> Each of the elements of `pCommandBuffers`, the elements of `pSignalSemaphores`, and the elements of `pWaitSemaphores` that are valid handles **must** have been created, allocated, or retrieved from the same `VkDevice`

That allows to only pass parameter that has the same parent, but still allows the parent to be distinct from the dispatchable parameter of the command (the `queue`). I think the correct VU would be:

> Each of the elements of `pCommandBuffers`, the elements of `pSignalSemaphores`, and the elements of `pWaitSemaphores` of each element of `pSubmits` **must** be created from `VkDevice` parent of `queue`

Contributor guide

Open the contributing guide

Research direction

Locate the implicit same-parent VU for vkQueueSubmit and compare it with the quoted VkSubmitInfo valid-handle requirement. Done means the specification wording requires the handles in pSubmits to use the VkDevice parent of queue, while preserving the stated scope for command buffers, signal semaphores, and wait semaphores.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.