[VK] VMA changes #323
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "vmachanges"
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?
todo
@ -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))) {
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
Pull request closed