1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-12 13: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:
Philip Rebohle 2022-08-11 13:43:38 +02:00
parent a4848201f8
commit 715b5119e6
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -947,7 +947,7 @@ namespace dxvk {
std::lock_guard lock(m_mutex);
// Skip if a pipeline has already been compiled
if (m_pipeline)
if (m_compiledOnce)
return;
// Compile the pipeline with default args