-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
layers: Add BASE_NODE tree locking #3658
layers: Add BASE_NODE tree locking #3658
Conversation
CI Vulkan-ValidationLayers build queued with queue ID 11910. |
WIP: this depends on #3657 and needs a much better description of what is happening |
CI Vulkan-ValidationLayers build # 5858 running. |
CI Vulkan-ValidationLayers build # 5858 passed. |
18f0bc7
to
4c1ab98
Compare
CI Vulkan-ValidationLayers build queued with queue ID 15039. |
CI Vulkan-ValidationLayers build # 5909 running. |
CI Vulkan-ValidationLayers build # 5909 passed. |
4c1ab98
to
9d383ad
Compare
CI Vulkan-ValidationLayers build queued with queue ID 15435. |
CI Vulkan-ValidationLayers build # 5923 running. |
CI Vulkan-ValidationLayers build # 5923 passed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One naming question, but LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple questions...
9d383ad
to
9afa709
Compare
CI Vulkan-ValidationLayers build queued with queue ID 16608. |
CI Vulkan-ValidationLayers build # 5942 running. |
Maintaining the tree of which objects are in use by command buffers is performance critical and also likely to cause interactions between threads. Make access to the tree thread safe by guarding each nodes parent_nodes_ set with a separate r/w lock.
9afa709
to
24502b2
Compare
CI Vulkan-ValidationLayers build queued with queue ID 16622. |
CI Vulkan-ValidationLayers build # 5945 running. |
CI Vulkan-ValidationLayers build # 5945 passed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Maintaining the tree of which objects are in use by command buffers is performance critical and also likely to cause interactions between threads. Make access to the tree thread safe by guarding each nodes parent_nodes_ set with a separate r/w lock.