Skip to content

Add vulkan memory allocator - #20

Merged
IntegratedQuantum merged 1 commit into
PixelGuys:masterfrom
IntegratedQuantum:vma
Aug 13, 2026
Merged

IntegratedQuantum merged 1 commit into
PixelGuys:masterfrom
IntegratedQuantum:vma

Conversation

@IntegratedQuantum

Copy link
Copy Markdown
Member

I had some trouble getting this to work with glad, see GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator#541

progress towards PixelGuys/Cubyz#102

I don't particularly like adding a new dependency for this, but I think to progress the rewrite it's the best decision.

@IntegratedQuantum
IntegratedQuantum merged commit 896f76f into PixelGuys:master Aug 13, 2026
1 check passed
@IntegratedQuantum
IntegratedQuantum deleted the vma branch August 13, 2026 13:40
IntegratedQuantum added a commit to PixelGuys/Cubyz that referenced this pull request Aug 15, 2026
Upload happens using a staging buffer on a separate command buffer which
gets submitted (and synchronized) before the other command buffers.

I also had to add a garbage collection thing for triple buffering, and I
also hardcoded the number of frames to 2, any more than that and we have
too much latency anyways.

- [x] Update cubyz-libs after
PixelGuys/Cubyz-libs#20

progress towards #102
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant