switching to master mustpasslist
Build / build (push) Successful in 1m4s
Test / build_and_test (push) Failing after 9m35s

This commit is contained in:
2026-05-06 19:10:32 +02:00
parent a5ff640aeb
commit efa67d81ba
4 changed files with 9 additions and 97 deletions
+3
View File
@@ -13,6 +13,9 @@ pub const Interface = base.Buffer;
interface: Interface,
pub fn create(device: *base.Device, allocator: std.mem.Allocator, info: *const vk.BufferCreateInfo) VkError!*Self {
if (info.size > lib.MAX_MEMORY_ALLOCATION_SIZE)
return VkError.OutOfDeviceMemory;
const self = allocator.create(Self) catch return VkError.OutOfHostMemory;
errdefer allocator.destroy(self);