livoxG1: Rename stagingBuffer=>assemblyBuffer
This is in preparation for re-using StagingBuffer to also serve as the collation buffer that we'll use as the intermediate stage for producing the final output mesh.
This commit is contained in:
@@ -59,7 +59,7 @@ bool IoUringAssemblyEngine::setup()
|
||||
|
||||
// Get FrameAssemblyDesc from staging buffer
|
||||
frameAssemblyDesc = static_cast<std::shared_ptr<FrameAssemblyDesc>>(
|
||||
parent.stagingBuffer);
|
||||
parent.assemblyBuffer);
|
||||
|
||||
if (!frameAssemblyDesc || frameAssemblyDesc->slots.empty())
|
||||
{ return false; }
|
||||
@@ -94,7 +94,7 @@ bool IoUringAssemblyEngine::setup()
|
||||
{ goto cleanup; }
|
||||
|
||||
// Register staging buffer with io_uring for DMA-apt I/O
|
||||
iov = parent.stagingBuffer.getIoUringRegisterIoVec();
|
||||
iov = parent.assemblyBuffer.getIoUringRegisterIoVec();
|
||||
ret = io_uring_register_buffers(&ring, &iov, 1);
|
||||
if (ret < 0)
|
||||
{ goto cleanup_ring; }
|
||||
|
||||
Reference in New Issue
Block a user