KhronosGroup / KhronosGroup/Vulkan-Docs

Contrary claims on whether QFOT can be performed via Events

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

Description

Similarly to #1516 it is not clear whether Events2 can perform QFOT.

The Queue Family Ownership Transfer chapter says:

> the release and acquire operations of a queue family ownership transfer **can** only be performed using`vkCmdPipelineBarrier`.

But `vkCmdSetEvent2` and `vkCmdWaitEvents2` does seem to have the parameters to do it, and they don't seem restricted by VU (like they are for `vkCmdWaitEvents`.

Additionally, `vkCmdSetEvent2` spec seems to comment on QFOT, though I am not sure it makes any coherent sense:

> Queue family ownership transfers and image layout transitions defined by `pDependencyInfo` are also included in the first scopes.
>
> The second synchronization scope includes only the event signal operation, and any queue family ownership transfers and image layout transitions defined by `pDependencyInfo`.
>
> The second access scope includes only queue family ownership transfers and image layout transitions.

Contributor guide

Open the contributing guide

Research direction

Read issue #1516 and the Queue Family Ownership Transfer chapter alongside the vkCmdSetEvent2 and vkCmdWaitEvents2 specification entries. Determine whether Events2 permits QFOT and resolve the quoted synchronization-scope wording. Done means the relevant specification text and valid-usage language consistently answer the question.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.