Set pipeline bind point for descriptor update templates

* This is needed to know which type of descriptor sets is being mutated for push
  descriptors
This commit is contained in:
baldurk
2018-11-19 11:48:20 +00:00
parent e4ab1448fd
commit 3f43ae73d1
+2
View File
@@ -859,6 +859,8 @@ void DescUpdateTemplate::Init(VulkanResourceManager *resourceMan, VulkanCreation
updates.insert(updates.begin(), pCreateInfo->pDescriptorUpdateEntries,
pCreateInfo->pDescriptorUpdateEntries + pCreateInfo->descriptorUpdateEntryCount);
bindPoint = pCreateInfo->pipelineBindPoint;
dataByteSize = 0;
texelBufferViewCount = 0;