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

@@ -33,6 +33,8 @@ test "Simple SSBO" {
const code = try compileNzsl(allocator, shader);
defer allocator.free(code);
var ssbo = [_]u32{0} ** 256;
var expected = [_]u32{0} ** 256;
for (expected[0..], 0..) |*val, i| {
val.* = @intCast(i);
@@ -44,7 +46,7 @@ test "Simple SSBO" {
// Set 0
&.{
// Binding 0
std.mem.asBytes(&[_]u32{0} ** 256),
std.mem.asBytes(&ssbo),
},
},
.expected_descriptor_sets = &.{