[webkit-changes] [WebKit/WebKit] d7e9dd: [WGSL] Add type declarations for textureSample ove...

Tadeu Zagallo noreply at github.com
Fri Sep 22 08:51:24 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d7e9dd0b2334305eb70d6f6a200347488ba6b1f0
      https://github.com/WebKit/WebKit/commit/d7e9dd0b2334305eb70d6f6a200347488ba6b1f0
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2023-09-22 (Fri, 22 Sep 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 textureSample overloads that operate on texture_depth_*
https://bugs.webkit.org/show_bug.cgi?id=254515
rdar://107556432

Reviewed by Dan Glastonbury.

In 268117 at main I added declarations for all built-in functions that operate on textures, but
since we didn't support texture_depth yet, I skipped those. This patch fills in all the texture
depth functions. Now we're only missing the functions/overloads that depend on texture storage
or sampler_comparison.

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

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




More information about the webkit-changes mailing list