Fixes race condition caused. The descriptor pool is not thread safe, so we have to commit descriptor sets within the same thread.
Fixes race condition caused. The descriptor pool is not thread safe, so we have to commit descriptor sets within the same thread.