diff --git a/build.zig.zon b/build.zig.zon index 2cab2b0..a6d2f9d 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -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 = .{ diff --git a/src/opcodes.zig b/src/opcodes.zig index 569fb46..efb60ee 100644 --- a/src/opcodes.zig +++ b/src/opcodes.zig @@ -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), }