Instancing buffers waste space between draw commands #48
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: kayomn/ona#48
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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.