From 715b5119e6344726fb85ac7ecea25292647ccdc1 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Thu, 11 Aug 2022 13:43:38 +0200 Subject: [PATCH] [dxvk] Fix check in DxvkShaderPipelineLibrary::compilePipeline Since we destroy pipelines on 32-bit we should just make sure this doesn't get executed unnecessarily. --- src/dxvk/dxvk_shader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dxvk/dxvk_shader.cpp b/src/dxvk/dxvk_shader.cpp index 9ee0e2fe..e840d95c 100644 --- a/src/dxvk/dxvk_shader.cpp +++ b/src/dxvk/dxvk_shader.cpp @@ -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