diff --git a/src/dxvk/dxvk_compute.cpp b/src/dxvk/dxvk_compute.cpp index f6d543c9d..9fe36991b 100644 --- a/src/dxvk/dxvk_compute.cpp +++ b/src/dxvk/dxvk_compute.cpp @@ -41,7 +41,6 @@ namespace dxvk { VkPipeline DxvkComputePipeline::getPipelineHandle( const DxvkComputePipelineStateInfo& state) { - std::lock_guard lock(m_mutex); for (const PipelineStruct& pair : m_pipelines) { if (pair.stateVector == state) diff --git a/src/dxvk/dxvk_compute.h b/src/dxvk/dxvk_compute.h index 85ff02bb0..ad2666010 100644 --- a/src/dxvk/dxvk_compute.h +++ b/src/dxvk/dxvk_compute.h @@ -74,7 +74,6 @@ namespace dxvk { Rc m_layout; Rc m_cs; - std::mutex m_mutex; std::vector m_pipelines; VkPipeline m_basePipeline = VK_NULL_HANDLE; diff --git a/src/dxvk/dxvk_graphics.cpp b/src/dxvk/dxvk_graphics.cpp index 80d077b0c..8329a9646 100644 --- a/src/dxvk/dxvk_graphics.cpp +++ b/src/dxvk/dxvk_graphics.cpp @@ -74,7 +74,6 @@ namespace dxvk { VkPipeline DxvkGraphicsPipeline::getPipelineHandle( const DxvkGraphicsPipelineStateInfo& state) { - std::lock_guard lock(m_mutex); for (const PipelineStruct& pair : m_pipelines) { if (pair.stateVector == state) diff --git a/src/dxvk/dxvk_graphics.h b/src/dxvk/dxvk_graphics.h index eed9da6a0..1fc8551db 100644 --- a/src/dxvk/dxvk_graphics.h +++ b/src/dxvk/dxvk_graphics.h @@ -1,7 +1,6 @@ #pragma once -#include -#include +#include #include "dxvk_binding.h" #include "dxvk_constant_state.h" @@ -145,7 +144,6 @@ namespace dxvk { uint32_t m_vsIn = 0; uint32_t m_fsOut = 0; - std::mutex m_mutex; std::vector m_pipelines; VkPipeline m_basePipeline = VK_NULL_HANDLE;