Instancing buffers waste space between draw commands #48
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If 513 draw instances are batched into blocks of 512, the renderer will dedicate a whole block to the last element and any subsequent calls will allocate a third block and start from an entirely new buffer.
Ideally the existing buffer could be used for data belonging to a separate set of instance draws, and instead the runtime would keep track of what range across the buffers belongs to what draw command.