Add some extra pipeline data to creation info struct

This commit is contained in:
baldurk
2015-10-22 23:48:42 +02:00
parent 30c30ca807
commit 08876581f7
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -64,6 +64,8 @@ void VulkanCreationInfo::Pipeline::Init(const VkGraphicsPipelineCreateInfo* pCre
flags = pCreateInfo->flags;
layout = VKMGR()->GetNonDispWrapper(pCreateInfo->layout)->id;
renderpass = VKMGR()->GetNonDispWrapper(pCreateInfo->renderPass)->id;
subpass = pCreateInfo->subpass;
// need to figure out which states are valid to be NULL
+2
View File
@@ -57,6 +57,8 @@ struct VulkanCreationInfo
void Init(const VkComputePipelineCreateInfo* pCreateInfo);
ResourceId layout;
ResourceId renderpass;
uint32_t subpass;
// VkGraphicsPipelineCreateInfo
VkPipelineCreateFlags flags;