Skip to content

Commit 5edab27

Browse files
committed
Revert "Erfans amazing fix"
This reverts commit 6dc565f.
1 parent 6dc565f commit 5edab27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/nbl/video/utilities/IUtilities.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ namespace nbl::video
355355
auto* cmdpool = cmdbuf->getPool();
356356
assert(cmdbuf->isResettable());
357357
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.
358+
assert(cmdbuf->getRecordingFlags().hasFlags(IGPUCommandBuffer::EU_ONE_TIME_SUBMIT_BIT));
359359

360360
// no pipeline barriers necessary because write and optional flush happens before submit, and memory allocation is reclaimed after fence signal
361361
for (size_t uploadedSize = 0ull; uploadedSize < bufferRange.size;)

0 commit comments

Comments
 (0)