We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dc565f commit 5edab27Copy full SHA for 5edab27
include/nbl/video/utilities/IUtilities.h
@@ -355,7 +355,7 @@ namespace nbl::video
355
auto* cmdpool = cmdbuf->getPool();
356
assert(cmdbuf->isResettable());
357
assert(cmdpool->getQueueFamilyIndex() == queue->getFamilyIndex());
358
- // assert(cmdbuf->getRecordingFlags().hasFlags(IGPUCommandBuffer::EU_ONE_TIME_SUBMIT_BIT)); // We should fix the example but ignore this for now.
+ assert(cmdbuf->getRecordingFlags().hasFlags(IGPUCommandBuffer::EU_ONE_TIME_SUBMIT_BIT));
359
360
// no pipeline barriers necessary because write and optional flush happens before submit, and memory allocation is reclaimed after fence signal
361
for (size_t uploadedSize = 0ull; uploadedSize < bufferRange.size;)
0 commit comments