adding bitsize to primitive values
All checks were successful
Build / build (push) Successful in 1m43s
Test / build (push) Successful in 4m37s

This commit is contained in:
2026-02-15 02:06:15 +01:00
parent ac4f41ddd4
commit 2ea707ea57
5 changed files with 320 additions and 208 deletions

View File

@@ -31,12 +31,12 @@ pub fn main() !void {
var input: Input = .{};
var output: Output = .{};
try rt.writeDescriptorSet(Input, allocator, &input, 0, 0);
try rt.writeDescriptorSet(Output, allocator, &output, 0, 1);
try rt.writeDescriptorSet(allocator, std.mem.asBytes(&input), 0, 0);
try rt.writeDescriptorSet(allocator, std.mem.asBytes(&output), 0, 1);
try rt.callEntryPoint(allocator, entry);
try rt.readDescriptorSet(Output, allocator, &output, 0, 1);
try rt.readDescriptorSet(std.mem.asBytes(&output), 0, 1);
std.log.info("Output: {any}", .{output});