Commit graph Crafter.Math/interfaces/Crafter.Math-VectorF32.cppm
Author SHA1 Message Date
ed188f207b
fix(vector): batched Dot in the scalar VectorF32 fallback
MatrixRowMajor calls VectorF32<Len, 1>::Dot(a0, b0, a1, b1, ...) for
its matrix-vector products and for LookAt. The x86, wasm and RISC-V
backends each define it; the scalar fallback, which every other target
gets, did not. Anything that imports Crafter.Math on such a target
failed to compile with "no member named 'Dot' in VectorF32", aarch64
included: cross-building Crafter.Graphics for a phone stopped there.

The fallback gains the same batched Dot, written like the RISC-V one:
one lane per (a, b) pair, summing only the first Len lanes of each
input.

No test exercises it: the suite builds the x86 and RISC-V tiers only.
Checked by cross-building Crafter.Graphics for aarch64-alpine-linux-musl
and running its UI on the device.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-06 16:52:24 +02:00
02af551776 SPDX license update 2026-07-22 18:01:26 +02:00
35091b2c53 RVV 2026-05-18 20:33:47 +02:00
f0becd1582 packed intersection and matrix 2026-05-18 19:57:40 +02:00
027947cae6 wasm dot 2026-05-18 18:15:12 +02:00
48e3b8e26c wasm SIMD 2026-05-18 05:23:49 +02:00
99972d8c81 x86 gating 2026-05-18 01:18:30 +02:00
a16f8ffbde x86v3 2026-03-31 14:22:18 +02:00
143b71eeb9 WE ARE SO BACK 2026-03-31 11:52:13 +02:00
8999c8b9ec all tests passing again 2026-03-31 05:38:12 +02:00
07910a81c3 F16 and F32 2026-03-22 20:53:17 +01:00