adding device memory base

This commit is contained in:
2025-11-08 01:00:30 +01:00
parent 7fdc02c260
commit 4b23abe795
8 changed files with 115 additions and 37 deletions

View File

@@ -37,8 +37,10 @@ pub fn create(allocator: std.mem.Allocator, instance: *const base.Instance) VkEr
interface.mem_props.memory_types[0] = .{
.heap_index = 0,
.property_flags = .{
.device_local_bit = true,
.host_visible_bit = true,
.host_coherent_bit = true,
.host_cached_bit = true,
},
};
interface.mem_props.memory_heap_count = 1;