1
0
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:
Philip Rebohle 2019-07-30 09:41:22 +02:00
parent 6ab074c95b
commit 20b0cbdfb6
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
4 changed files with 7 additions and 12 deletions

View File

@ -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;

View File

@ -95,7 +95,7 @@ namespace dxvk {
const DxvkComputePipelineStateInfo& state,
VkPipeline& pipeline) const;
VkPipeline compilePipeline(
VkPipeline createPipeline(
const DxvkComputePipelineStateInfo& state) const;
void destroyPipeline(

View File

@ -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) {

View File

@ -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;