[D3D12] Fix layouts_mutex_ lock naming

This commit is contained in:
Triang3l 2022-05-15 18:52:20 +03:00
parent a65fd4f673
commit f9261811a9
1 changed files with 1 additions and 1 deletions

View File

@ -1182,7 +1182,7 @@ bool PipelineCache::TranslateAnalyzedShader(
? kLayoutUIDEmpty ? kLayoutUIDEmpty
: size_t(sampler_binding_count); : size_t(sampler_binding_count);
if (texture_binding_count || bindless_sampler_count) { if (texture_binding_count || bindless_sampler_count) {
std::lock_guard<std::mutex> layouts_mutex_(layouts_mutex_); std::lock_guard<std::mutex> layouts_lock(layouts_mutex_);
if (texture_binding_count) { if (texture_binding_count) {
auto found_range = texture_binding_layout_map_.equal_range( auto found_range = texture_binding_layout_map_.equal_range(
texture_binding_layout_hash); texture_binding_layout_hash);