working compute pipelines
Some checks failed
Build / build (push) Successful in 1m11s
Test / build_and_test (push) Failing after 3h3m41s

This commit is contained in:
2026-02-26 03:12:47 +01:00
parent e5cbbbcc91
commit b13d9cb4c9
5 changed files with 55 additions and 56 deletions

View File

@@ -40,7 +40,7 @@ pub inline fn destroy(self: *Self, allocator: std.mem.Allocator) void {
}
pub inline fn bindMemory(self: *Self, memory: *DeviceMemory, offset: vk.DeviceSize) VkError!void {
if (offset >= self.size or !self.allowed_memory_types.isSet(memory.memory_type_index)) {
if (offset > memory.size or !self.allowed_memory_types.isSet(memory.memory_type_index)) {
return VkError.ValidationFailed;
}
self.memory = memory;