Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WGSL] quantizeToF16 generates invalid code for vectors
https://bugs.webkit.org/show_bug.cgi?id=267108 rdar://120500374 Reviewed by Mike Wyrzykowski. The code generator was always emitting `float(half(x))` for quantizeToF16, but it should to be `floatN(halfN(x))` if the argument is a vector of size N. * Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp: (WGSL::Metal::emitQuantizeToF16): Canonical link: https://commits.webkit.org/272685@main
- Loading branch information