[webkit-changes] [WebKit/WebKit] 144459: [WGSL] error: use of undeclared identifier 'textur...

Tadeu Zagallo noreply at github.com
Mon Nov 6 01:33:43 PST 2023


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

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

  Log Message:
  -----------
  [WGSL] error: use of undeclared identifier 'textureSampleCompareLevel' opening https://spookyball.com/
https://bugs.webkit.org/show_bug.cgi?id=264140
rdar://117891882

Reviewed by Mike Wyrzykowski.

Add code generation for textureSampleCompareLevel. Fow now, it just call the same
generator as textureSampleCompare, as both take the same arguments and translate
to the same call in Metal.

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

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




More information about the webkit-changes mailing list