mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-05 01:24:14 +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(
|
void DxvkPipelineWorkers::compileGraphicsPipeline(
|
||||||
DxvkGraphicsPipeline* pipeline,
|
DxvkGraphicsPipeline* pipeline,
|
||||||
const DxvkGraphicsPipelineStateInfo& state) {
|
const DxvkGraphicsPipelineStateInfo& state) {
|
||||||
@ -176,9 +159,7 @@ namespace dxvk {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (p) {
|
if (p) {
|
||||||
if (p->computePipeline) {
|
if (p->graphicsPipeline) {
|
||||||
p->computePipeline->compilePipeline(p->computeState);
|
|
||||||
} else if (p->graphicsPipeline) {
|
|
||||||
p->graphicsPipeline->compilePipeline(p->graphicsState);
|
p->graphicsPipeline->compilePipeline(p->graphicsState);
|
||||||
p->graphicsPipeline->releasePipeline();
|
p->graphicsPipeline->releasePipeline();
|
||||||
}
|
}
|
||||||
|
@ -70,16 +70,6 @@ namespace dxvk {
|
|||||||
DxvkShaderPipelineLibrary* library,
|
DxvkShaderPipelineLibrary* library,
|
||||||
DxvkPipelinePriority priority);
|
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
|
* \brief Compiles an optimized graphics pipeline
|
||||||
*
|
*
|
||||||
@ -107,9 +97,7 @@ namespace dxvk {
|
|||||||
private:
|
private:
|
||||||
|
|
||||||
struct PipelineEntry {
|
struct PipelineEntry {
|
||||||
DxvkComputePipeline* computePipeline;
|
|
||||||
DxvkGraphicsPipeline* graphicsPipeline;
|
DxvkGraphicsPipeline* graphicsPipeline;
|
||||||
DxvkComputePipelineStateInfo computeState;
|
|
||||||
DxvkGraphicsPipelineStateInfo graphicsState;
|
DxvkGraphicsPipelineStateInfo graphicsState;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user