updating nzsl
Build / build (push) Successful in 1m17s
Test / build (push) Successful in 7m41s

This commit is contained in:
2026-05-14 14:24:18 +02:00
parent c0825d5315
commit dc80a6a348
2 changed files with 4 additions and 10 deletions
+2 -2
View File
@@ -7,8 +7,8 @@
.hash = "zmath-0.11.0-dev-wjwivdMsAwD-xaLj76YHUq3t9JDH-X16xuMTmnDzqbu2",
},
.NZSL = .{ // For unit tests
.url = "git+https://git.kbz8.me/kbz_8/NZigSL#68f6c0ae2d0fc6b91eaa9df5c0fcd68f3529c5b8",
.hash = "NZSL-1.1.4-N0xSVC97AACi1-SuJ_ifNAOBRdCMPIXN1vMgVprfABhH",
.url = "git+https://git.kbz8.me/kbz_8/NZigSL#3ab28e423cdab27797f779d352094a69800c0c6b",
.hash = "NZSL-1.1.5-N0xSVHV7AAB168H2nqMDYY0hjUXtXJ9_eQGNHasSr9r8",
.lazy = true,
},
.sdl3 = .{
+2 -8
View File
@@ -1687,14 +1687,8 @@ fn opCompositeConstruct(_: std.mem.Allocator, word_count: SpvWord, rt: *Runtime)
}
},
.RuntimeArray => |arr| {
var offset: usize = 0;
for (0..index_count) |_| {
// DOES NOT WORK : FIXME
const elem_value = (try rt.results[try rt.it.next()].getVariant()).Constant.value;
std.mem.copyForwards(u8, arr.data[offset..(offset + arr.stride)], std.mem.asBytes(&elem_value));
offset += arr.stride;
}
_ = arr;
return RuntimeError.ToDo;
},
else => try vectorRoutines(value, rt),
}