Skip to content

Commit 2c58b97

Browse files
committed
Merge branch 'cad_example'
2 parents 55e7157 + 4e82903 commit 2c58b97

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

include/nbl/asset/IBuffer.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ class NBL_API IBuffer : public core::IBuffer, public IDescriptor
6363
SCreationParams m_creationParams;
6464
};
6565

66+
NBL_ENUM_ADD_BITWISE_OPERATORS(IBuffer::E_USAGE_FLAGS)
67+
6668
template<class BufferType>
6769
struct NBL_API SBufferBinding
6870
{

include/nbl/asset/IImage.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,8 @@ class NBL_API IImage : public IDescriptor
740740
};
741741
static_assert(sizeof(IImage)-sizeof(IDescriptor)!=3u*sizeof(uint32_t)+sizeof(VkExtent3D)+sizeof(uint32_t)*3u,"BaW File Format won't work");
742742

743+
NBL_ENUM_ADD_BITWISE_OPERATORS(IImage::E_USAGE_FLAGS)
744+
743745
} // end namespace nbl::asset
744746

745747
#endif

include/nbl/video/utilities/IUtilities.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,9 @@ class NBL_API2 IUtilities : public core::IReferenceCounted
564564
m_device->blockForFences(1u, &fence.get());
565565
}
566566

567+
568+
// pipelineBarrierAutoSubmit?
569+
567570
// --------------
568571
// downloadBufferRangeViaStagingBuffer
569572
// --------------

0 commit comments

Comments
 (0)