[webkit-changes] [WebKit/WebKit] e5c11b: [WGSL] countLeadingZeros, countOneBits, countTrail...

Tadeu Zagallo noreply at github.com
Thu Nov 9 00:11:15 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e5c11b80e43b6b3e9cf189715ba00223aa1ab841
      https://github.com/WebKit/WebKit/commit/e5c11b80e43b6b3e9cf189715ba00223aa1ab841
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2023-11-09 (Thu, 09 Nov 2023)

  Changed paths:
    M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp
    M Source/WebGPU/WGSL/tests/valid/overload.wgsl

  Log Message:
  -----------
  [WGSL] countLeadingZeros, countOneBits, countTrailingZeros, reverseBits, extractBits, faceForward, insertBits are unimplemented
https://bugs.webkit.org/show_bug.cgi?id=264384
rdar://118098831

Reviewed by Mike Wyrzykowski.

Add code generation for all the missing bit functions

* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
(WGSL::Metal::FunctionDefinitionWriter::visit):
* Source/WebGPU/WGSL/tests/valid/overload.wgsl:

Canonical link: https://commits.webkit.org/270427@main




More information about the webkit-changes mailing list