[D3D12] Fix layouts_mutex_ lock naming
This commit is contained in:
parent
a65fd4f673
commit
f9261811a9
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue