mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01:00
vk: Restore thread safety locks to descriptor routines
This commit is contained in:
parent
afb814788f
commit
f3f0c7d8da
|
|
@ -559,7 +559,7 @@ namespace vk
|
|||
};
|
||||
|
||||
{
|
||||
//std::lock_guard lock(m_descriptor_set);
|
||||
std::lock_guard lock(m_descriptor_set);
|
||||
const bool cache_is_valid = m_descriptor_template_cache_id == m_descriptor_set.cache_id();
|
||||
|
||||
for (unsigned i = 0; i < m_descriptor_slots.size(); ++i)
|
||||
|
|
|
|||
|
|
@ -465,7 +465,7 @@ namespace vk
|
|||
return;
|
||||
}
|
||||
|
||||
//std::lock_guard lock(m_storage_lock);
|
||||
std::lock_guard lock(m_storage_lock);
|
||||
|
||||
const auto num_writes = ::size32(m_pending_writes);
|
||||
const auto num_copies = ::size32(m_pending_copies);
|
||||
|
|
|
|||
Loading…
Reference in a new issue