[VK] VMA changes #323

Closed
wildcard wants to merge 1 commit from vmachanges into master
Member

todo

todo
wildcard added 1 commit 2025-08-26 22:12:39 +02:00
[VK] VMA changes
All checks were successful
eden-license / license-header (pull_request) Successful in 35s
e95b908318
todo
Lizzie reviewed 2025-08-26 22:45:31 +02:00
@ -296,2 +296,2 @@
// TODO(Rodrigo): Handle out of memory situations in some way like flushing to guest memory.
throw vk::Exception(VK_ERROR_OUT_OF_DEVICE_MEMORY);
const u64 floor = std::max<u64>(requirements.size, 4ull << 20);
while (chunk_size > floor && !TryAllocMemory(flags, type_mask, (chunk_size >>= 1))) {
Member

This looks hacky, we should just use std::iota and std::transform of an array of precomputed sizes so we have a known bound w/o relying on variables

This looks hacky, we should just use std::iota and std::transform of an array of precomputed sizes so we have a known bound w/o relying on variables
wildcard closed this pull request 2025-08-27 00:49:53 +02:00
All checks were successful
eden-license / license-header (pull_request) Successful in 35s
Required
Details

Pull request closed

Sign in to join this conversation.
No description provided.