maybe obvious but here are the WGSL -> MSL translations: countLeadingZeros -> clz countOneBits -> popcount countTrailingZeros -> ctz reverseBits -> reverse_bits extractBits -> extract_bits faceForward -> faceforward insertBits -> insert_bits
<rdar://problem/118098831>
Pull request: https://github.com/WebKit/WebKit/pull/20163
Committed 270427@main (e5c11b80e43b): <https://commits.webkit.org/270427@main> Reviewed commits have been landed. Closing PR #20163 and removing active labels.