Skip to content

Commit

Permalink
layers: Encapsulate SEMAPHORE_STATE member data
Browse files Browse the repository at this point in the history
Make all non-const member data private and restructure semaphore
tracking to allow it to eventually be made thread safe. The
biggest change is that each semaphore's state now keeps a
queue of pending operations, which removes the need to
frequently walk all pending submissions in every queue.

Fixes KhronosGroup#3590, which was introduced when one the 'for every queue'
loops was removed in a previous commit.

This change also adds checking for:
VUID-VkAcquireNextImageInfoKHR-semaphore-01781
VUID-vkAcquireNextImageKHR-semaphore-01779
  • Loading branch information
jeremyg-lunarg committed Jan 2, 2022
1 parent 1bd67b1 commit fa2a149
Show file tree
Hide file tree
Showing 5 changed files with 383 additions and 258 deletions.
Loading

0 comments on commit fa2a149

Please sign in to comment.