new identity
Test / build_and_test (push) Successful in 45s
Build / build (push) Failing after 2h4m30s

This commit is contained in:
2026-05-29 16:42:06 +02:00
parent ba874a77b2
commit 0ab6581fe9
11 changed files with 173 additions and 178 deletions
+1 -4
View File
@@ -1013,10 +1013,7 @@ pub fn writeFloat4(c: F32x4, map: []u8, dst_format: vk.Format) void {
(@as(u32, a) << 30);
},
.r32g32b32a32_uint => {
std.debug.print("{}\n", .{@as(@Vector(4, f64), color) * @as(@Vector(4, f64), @splat(std.math.maxInt(u32)))});
std.mem.bytesAsValue(U32x4, map).* = @intFromFloat(@round(@as(@Vector(4, f64), color) * @as(@Vector(4, f64), @splat(std.math.maxInt(u32)))));
},
.r32g32b32a32_uint => std.mem.bytesAsValue(U32x4, map).* = @intFromFloat(@round(@as(@Vector(4, f64), color) * @as(@Vector(4, f64), @splat(std.math.maxInt(u32))))),
.r32g32b32a32_sfloat => std.mem.bytesAsValue(F32x4, map).* = color,