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 -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),
}