[webkit-changes] [WebKit/WebKit] 2e1e30: [WGSL] Add type declarations for numeric built-in ...

Tadeu Zagallo noreply at github.com
Tue Apr 18 03:43:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2e1e308373225547f82eaeb507d27ef587837932
      https://github.com/WebKit/WebKit/commit/2e1e308373225547f82eaeb507d27ef587837932
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2023-04-18 (Tue, 18 Apr 2023)

  Changed paths:
    M Source/WebGPU/WGSL/TypeDeclarations.rb
    M Source/WebGPU/WGSL/generator/main.rb
    M Source/WebGPU/WGSL/tests/valid/overload.wgsl

  Log Message:
  -----------
  [WGSL] Add type declarations for numeric built-in functions
https://bugs.webkit.org/show_bug.cgi?id=255514
rdar://108134362

Reviewed by Mike Wyrzykowski.

Add type declarations for all the functions from section 17.5 (Numeric Built-in Functions) of the spec[1].

[1]: https://www.w3.org/TR/WGSL/#numeric-builtin-functions

* Source/WebGPU/WGSL/TypeDeclarations.rb:
* Source/WebGPU/WGSL/tests/valid/overload.wgsl:

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




More information about the webkit-changes mailing list