Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: dd88d938e7386c6e2501dca6241afdece3abf458
https://github.com/WebKit/WebKit/commit/dd88d938e7386c6e2501dca6241afdece3abf458
Author: Tadeu Zagallo <[email protected]>
Date: 2024-01-05 (Fri, 05 Jan 2024)
Changed paths:
M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp
Log Message:
-----------
[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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes