mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-04 16:24:29 +01:00
[dxvk] Remove unused compileComputePipeline function
This commit is contained in:
parent
e5157a5360
commit
a22d70e184
@ -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();
|
||||
}
|
||||
|
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user