ugly implementation of new runtime arrays management
All checks were successful
Build / build (push) Successful in 56s
Test / build (push) Successful in 4m54s

This commit is contained in:
2026-03-08 02:25:25 +01:00
parent 16eb184808
commit ad013d23fc
6 changed files with 367 additions and 337 deletions

View File

@@ -35,12 +35,12 @@ pub fn main() !void {
};
try rt.writeBuiltIn(std.mem.asBytes(&global_invocation_indices), .GlobalInvocationId);
try rt.writeDescriptorSet(allocator, std.mem.asBytes(&ssbo), 0, 0);
try rt.writeDescriptorSet(std.mem.asBytes(&ssbo), 0, 0);
rt.callEntryPoint(allocator, entry) catch |err| switch (err) {
spv.Runtime.RuntimeError.OutOfBounds => continue,
else => return err,
};
try rt.readDescriptorSet(std.mem.asBytes(&ssbo), 0, 0);
try rt.flushDescriptorSets(allocator);
}
}