Create all buffer type descriptor set. Create pipeline layout.
UpdateDescriptorSet, skip bindless texture set.
AllocateDescriptorSet for Pool.
UpdateDescriptorSet.
UpdateDescriptorSet, skip bindless texture set.
AllocateDescriptorSet for Pool.
UpdateDescriptorSet.
1816 {
1818
1820
1821 for (auto& pair : descriptorSets)
1822 {
1826 if (pair.first == SpicesShader::BINDLESS_TEXTURE_SET)
1827 {
1828 if (!pair.second->Get())
1829 {
1830 pair.second->BuildBindLessTextureDescriptorSet(
m_HandledSubPass->GetName());
1831 }
1832
1833 pair.second->UpdateBindLessTextureDescriptorSet(
m_ImageInfos[pair.first]);
1834 continue;
1835 }
1836
1841
1846 }
1847 }
#define SPICES_PROFILE_ZONE
static DescriptorSetInfo & GetByName(const String2 &name)
Get a DescriptorSetInfo by owner's name.
std::unordered_map< uint32_t, std::unordered_map< uint32_t, std::vector< VkDescriptorImageInfo > > > m_ImageInfos
DescriptorSet Image type binging info. [set] - [binding] - [info].
String2 m_DescriptorSetId
The Descriptor Set Manager ID descriptorSet belongs to.
std::unordered_map< uint32_t, std::unordered_map< uint32_t, VkDescriptorBufferInfo > > m_BufferInfos
DescriptorSet Buffer type binging info. [set] - [binding] - [info].
std::shared_ptr< RendererSubPass > m_HandledSubPass
Handled Sub pass.