Skip to content

Commit cca06a5

Browse files
author
devsh
committed
make currently written descriptors into set visible to CAssetConverter via friendship
1 parent a0b2ea9 commit cca06a5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

include/nbl/video/IGPUDescriptorSet.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ class IGPUDescriptorSet : public asset::IDescriptorSet<const IGPUDescriptorSetLa
169169
return samplers + localOffset;
170170
}
171171

172+
friend class CAssetConverter; // need this for `convert` checking deps
172173
inline core::smart_refctd_ptr<asset::IDescriptor>* getAllDescriptors(const asset::IDescriptor::E_TYPE type) const
173174
{
174175
auto* baseAddress = m_pool->getDescriptorStorage(type);

0 commit comments

Comments
 (0)