[webkit-changes] [WebKit/WebKit] 51721b: [WGSL] Fix f32 remainder for vectors and compound ...
Tadeu Zagallo
noreply at github.com
Mon Nov 13 08:14:12 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 51721b38db4eced190c6986a41d8ee9f90f16a9c
https://github.com/WebKit/WebKit/commit/51721b38db4eced190c6986a41d8ee9f90f16a9c
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2023-11-13 (Mon, 13 Nov 2023)
Changed paths:
M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp
M Source/WebGPU/WGSL/tests/valid/overload.wgsl
Log Message:
-----------
[WGSL] Fix f32 remainder for vectors and compound assignment
https://bugs.webkit.org/show_bug.cgi?id=264604
rdar://118239990
Reviewed by Mike Wyrzykowski.
We were not emitting fmod for compound assignments or for the binary operation
between two vectors of floats.
* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
(WGSL::Metal::FunctionDefinitionWriter::visit):
* Source/WebGPU/WGSL/tests/valid/overload.wgsl:
Canonical link: https://commits.webkit.org/270640@main
More information about the webkit-changes
mailing list