mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-05-07 13:37:46 +00:00
vk: Restore thread safety locks to descriptor routines
This commit is contained in:
parent
afb814788f
commit
f3f0c7d8da
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue