diff --git a/src/dxvk/dxvk_pipemanager.cpp b/src/dxvk/dxvk_pipemanager.cpp index 07e75fd5..cbcc162d 100644 --- a/src/dxvk/dxvk_pipemanager.cpp +++ b/src/dxvk/dxvk_pipemanager.cpp @@ -40,23 +40,6 @@ namespace dxvk { } - void DxvkPipelineWorkers::compileComputePipeline( - DxvkComputePipeline* pipeline, - const DxvkComputePipelineStateInfo& state) { - std::unique_lock lock(m_queueLock); - this->startWorkers(); - - m_pendingTasks += 1; - - PipelineEntry e = { }; - e.computePipeline = pipeline; - e.computeState = state; - - m_queuedPipelines.push(e); - m_queueCond.notify_one(); - } - - void DxvkPipelineWorkers::compileGraphicsPipeline( DxvkGraphicsPipeline* pipeline, const DxvkGraphicsPipelineStateInfo& state) { @@ -176,9 +159,7 @@ namespace dxvk { } if (p) { - if (p->computePipeline) { - p->computePipeline->compilePipeline(p->computeState); - } else if (p->graphicsPipeline) { + if (p->graphicsPipeline) { p->graphicsPipeline->compilePipeline(p->graphicsState); p->graphicsPipeline->releasePipeline(); } diff --git a/src/dxvk/dxvk_pipemanager.h b/src/dxvk/dxvk_pipemanager.h index 3ae32de1..49768d4b 100644 --- a/src/dxvk/dxvk_pipemanager.h +++ b/src/dxvk/dxvk_pipemanager.h @@ -70,16 +70,6 @@ namespace dxvk { DxvkShaderPipelineLibrary* library, DxvkPipelinePriority priority); - /** - * \brief Compiles an optimized compute pipeline - * - * \param [in] pipeline Compute pipeline - * \param [in] state Pipeline state - */ - void compileComputePipeline( - DxvkComputePipeline* pipeline, - const DxvkComputePipelineStateInfo& state); - /** * \brief Compiles an optimized graphics pipeline * @@ -107,9 +97,7 @@ namespace dxvk { private: struct PipelineEntry { - DxvkComputePipeline* computePipeline; DxvkGraphicsPipeline* graphicsPipeline; - DxvkComputePipelineStateInfo computeState; DxvkGraphicsPipelineStateInfo graphicsState; };