Add pipeline layout support for graphics PSOs
This commit is contained in:
@@ -22,9 +22,6 @@ bool OpenGLDescriptorPool::Initialize(const DescriptorPoolDesc& desc) {
|
||||
}
|
||||
|
||||
void OpenGLDescriptorPool::Shutdown() {
|
||||
for (auto* set : m_allocatedSets) {
|
||||
delete set;
|
||||
}
|
||||
m_allocatedSets.clear();
|
||||
m_textureUnitAllocator = nullptr;
|
||||
}
|
||||
@@ -59,4 +56,4 @@ void OpenGLDescriptorPool::FreeSet(RHIDescriptorSet* set) {
|
||||
}
|
||||
|
||||
} // namespace RHI
|
||||
} // namespace XCEngine
|
||||
} // namespace XCEngine
|
||||
|
||||
Reference in New Issue
Block a user