aboutsummaryrefslogtreecommitdiff
path: root/layers/threading.cpp
diff options
context:
space:
mode:
authorMike Stroyan <stroyan@google.com>2016-02-05 09:11:32 -0700
committerMike Stroyan <stroyan@google.com>2016-02-05 11:05:27 -0700
commit7cd6b280269ba815edd743b44feece5205fbe13d (patch)
tree18f45f8b892e0aef2651444fa65c35cfd68c1c15 /layers/threading.cpp
parentd8381303679454ffe52bcc6096baafd60bcf118a (diff)
downloadusermoji-7cd6b280269ba815edd743b44feece5205fbe13d.tar.xz
layers: allow one thread multiple uses of object
A single call in a thread may use an object more than once. This first appeared with vkCmdExecuteCommands and buffer pools. That is not distinguishable from recursive vulkan calls. The error that this was looking for only happens if calling vulkan while within another vulkan call. Such calls from signal handlers or callbacks should be very rare errors. So just allow one thread to have multiple uses of an object and keep accurate counters.
Diffstat (limited to 'layers/threading.cpp')
0 files changed, 0 insertions, 0 deletions