KhronosGroup / KhronosGroup/Vulkan-Docs

Question about acquire and release images from and to external queue

Open
#1,376 9 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

Resolving Inside Khronos System Integration
Dominant language
JavaScript
Stars
3.3k
Forks
549
Avg merge
5d 5h
Merged PRs (30d)
2

Description

https://github.com/KhronosGroup/Vulkan-Docs/blob/cee0f4b12acde766e64d0d038b03458c74bb67f1/chapters/synchronization.txt#L4600

In the spec, it says

If the transfer is via an image memory barrier, and an image layout transition is
desired, then the values of oldLayout and newLayout in the
_release operation_'s memory barrier must: be equal to values of
oldLayout and newLayout in the _acquire operation_'s memory
barrier.

However, if the src queue is external, we may not know the oldLayout.
For example, For GL EXT_external_objects extension, there is no API to query the current image layout
before calling SignalSemaphoreEXT(). In that case, what should we use for the oldLayout.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.