Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WGSL] Constant function for abs is wrong for u32 and f16
https://bugs.webkit.org/show_bug.cgi?id=265257 rdar://118724534 Reviewed by Mike Wyrzykowski. For some reason it was casting u32 to int, when the result should be the identity. The result type also needs to be explicit, otherwise we return f32 for f16 inputs. * Source/WebGPU/WGSL/ConstantFunctions.h: (WGSL::UNARY_OPERATION): Canonical link: https://commits.webkit.org/271072@main
- Loading branch information