mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-13 16:08:50 +01:00
[dxvk] Fix check in DxvkShaderPipelineLibrary::compilePipeline
Since we destroy pipelines on 32-bit we should just make sure this doesn't get executed unnecessarily.
This commit is contained in:
parent
a4848201f8
commit
715b5119e6
@ -947,7 +947,7 @@ namespace dxvk {
|
|||||||
std::lock_guard lock(m_mutex);
|
std::lock_guard lock(m_mutex);
|
||||||
|
|
||||||
// Skip if a pipeline has already been compiled
|
// Skip if a pipeline has already been compiled
|
||||||
if (m_pipeline)
|
if (m_compiledOnce)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Compile the pipeline with default args
|
// Compile the pipeline with default args
|
||||||
|
Loading…
Reference in New Issue
Block a user