mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-20 19:54:19 +01:00
[dxvk] Rename compilePipeline -> createPipeline
More in line with Vulkan naming.
This commit is contained in:
parent
6ab074c95b
commit
20b0cbdfb6
@ -52,7 +52,7 @@ namespace dxvk {
|
||||
|
||||
// If no pipeline instance exists with the given state
|
||||
// vector, create a new one and add it to the list.
|
||||
newPipelineHandle = this->compilePipeline(state);
|
||||
newPipelineHandle = this->createPipeline(state);
|
||||
|
||||
// Add new pipeline to the set
|
||||
m_pipelines.push_back({ state, newPipelineHandle });
|
||||
@ -80,7 +80,7 @@ namespace dxvk {
|
||||
}
|
||||
|
||||
|
||||
VkPipeline DxvkComputePipeline::compilePipeline(
|
||||
VkPipeline DxvkComputePipeline::createPipeline(
|
||||
const DxvkComputePipelineStateInfo& state) const {
|
||||
std::vector<VkDescriptorSetLayoutBinding> bindings;
|
||||
|
||||
|
@ -95,7 +95,7 @@ namespace dxvk {
|
||||
const DxvkComputePipelineStateInfo& state,
|
||||
VkPipeline& pipeline) const;
|
||||
|
||||
VkPipeline compilePipeline(
|
||||
VkPipeline createPipeline(
|
||||
const DxvkComputePipelineStateInfo& state) const;
|
||||
|
||||
void destroyPipeline(
|
||||
|
@ -115,7 +115,7 @@ namespace dxvk {
|
||||
|
||||
// If no pipeline instance exists with the given state
|
||||
// vector, create a new one and add it to the list.
|
||||
newPipelineHandle = this->compilePipeline(state, renderPass);
|
||||
newPipelineHandle = this->createPipeline(state, renderPass);
|
||||
|
||||
// Add new pipeline to the set
|
||||
m_pipelines.emplace_back(state, renderPassHandle, newPipelineHandle);
|
||||
@ -141,7 +141,7 @@ namespace dxvk {
|
||||
}
|
||||
|
||||
|
||||
VkPipeline DxvkGraphicsPipeline::compilePipeline(
|
||||
VkPipeline DxvkGraphicsPipeline::createPipeline(
|
||||
const DxvkGraphicsPipelineStateInfo& state,
|
||||
const DxvkRenderPass& renderPass) const {
|
||||
if (Logger::logLevel() <= LogLevel::Debug) {
|
||||
|
@ -152,6 +152,7 @@ namespace dxvk {
|
||||
: m_stateVector (),
|
||||
m_renderPass (VK_NULL_HANDLE),
|
||||
m_pipeline (VK_NULL_HANDLE) { }
|
||||
|
||||
DxvkGraphicsPipelineInstance(
|
||||
const DxvkGraphicsPipelineStateInfo& state,
|
||||
VkRenderPass rp,
|
||||
@ -254,12 +255,6 @@ namespace dxvk {
|
||||
|
||||
private:
|
||||
|
||||
struct PipelineStruct {
|
||||
DxvkGraphicsPipelineStateInfo stateVector;
|
||||
VkRenderPass renderPass;
|
||||
VkPipeline pipeline;
|
||||
};
|
||||
|
||||
Rc<vk::DeviceFn> m_vkd;
|
||||
DxvkPipelineManager* m_pipeMgr;
|
||||
|
||||
@ -282,7 +277,7 @@ namespace dxvk {
|
||||
const DxvkGraphicsPipelineStateInfo& state,
|
||||
VkRenderPass renderPass) const;
|
||||
|
||||
VkPipeline compilePipeline(
|
||||
VkPipeline createPipeline(
|
||||
const DxvkGraphicsPipelineStateInfo& state,
|
||||
const DxvkRenderPass& renderPass) const;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user