[Fint] adding basic copy and blit commands
Test / build_and_test (push) Successful in 4m56s
Build / build (push) Successful in 7m20s

This commit is contained in:
2026-07-11 19:09:03 +02:00
parent d3cd6b18c8
commit 348e8ac66e
10 changed files with 497 additions and 156 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ pub fn init(device: *Device, allocator: std.mem.Allocator, info: *const vk.Image
const memory = try device.allocateMemory(allocator, &.{
.allocation_size = requirements.size,
.memory_type_index = requirements.memory_type_bits,
.memory_type_index = @ctz(requirements.memory_type_bits),
});
errdefer memory.destroy(allocator);