]> git.nega.tv - josh/narcissus/commit
Tidy up the way we handle cmd buffers
authorJoshua Simmons <josh@nega.tv>
Sun, 13 Nov 2022 13:03:39 +0000 (14:03 +0100)
committerJoshua Simmons <josh@nega.tv>
Sun, 13 Nov 2022 13:03:39 +0000 (14:03 +0100)
commitea67035ddcf5abed14ec081d10f81afffe3c9262
tree4b7f5a8108102ee1620fb4497905ea0c09b49e70
parenteb09851585f1c96feb39d00497732a9a43634fc1
Tidy up the way we handle cmd buffers

Use the arena allocator to bump allocate them from the frame structure,
and return a wrapper struct holding a pointer to the concrete type.

Simplify a few signatures now we have a direct pointer to the cmd
buffer.
narcissus-gpu/src/lib.rs
narcissus-gpu/src/vulkan.rs
narcissus/src/main.rs