[webkit-changes] [WebKit/WebKit] 1cf2b4: [WGSL] Add type declarations for built-in texture ...

Tadeu Zagallo noreply at github.com
Tue Sep 19 02:37:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1cf2b43d7eab9992ff8a16a2a74ed1fd2db5ae59
      https://github.com/WebKit/WebKit/commit/1cf2b43d7eab9992ff8a16a2a74ed1fd2db5ae59
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2023-09-19 (Tue, 19 Sep 2023)

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

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

Reviewed by Dan Glastonbury.

Add type declarations for all the built-in functions from section 16.7 of the spec[1]. The
only missing declarations now are the ones that use texture storage and texture depth, as
the first isn't support in type declarations yet and the latter isn't supported at all.

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

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

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




More information about the webkit-changes mailing list