[webkit-changes] [WebKit/WebKit] d1b013: [WGSL] Add abstract overloads to conversion functions

Tadeu Zagallo noreply at github.com
Wed Jan 10 23:45:07 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d1b0136693a04998832b590d39e85877856dc743
      https://github.com/WebKit/WebKit/commit/d1b0136693a04998832b590d39e85877856dc743
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2024-01-10 (Wed, 10 Jan 2024)

  Changed paths:
    M Source/WebGPU/WGSL/ConstantFunctions.h
    M Source/WebGPU/WGSL/TypeDeclarations.rb

  Log Message:
  -----------
  [WGSL] Add abstract overloads to conversion functions
https://bugs.webkit.org/show_bug.cgi?id=267336
rdar://120783899

Reviewed by Mike Wyrzykowski.

There were several CTS tests failing because they relied on directly converting
abstract floats to concrete integers. This behavior didn't match the spec, but
the spec is now being updated to match the CTS instead[1].

[1]: https://github.com/gpuweb/gpuweb/pull/4449

* Source/WebGPU/WGSL/ConstantFunctions.h:
(WGSL::CONSTANT_FUNCTION):
* Source/WebGPU/WGSL/TypeDeclarations.rb:

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




More information about the webkit-changes mailing list