[webkit-changes] [WebKit/WebKit] 115ce0: [WGSL] Add code generation for textureDimensions

Tadeu Zagallo noreply at github.com
Sun Sep 24 23:44:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 115ce0122bad1637e028a1d23b27c01b2fdc75cf
      https://github.com/WebKit/WebKit/commit/115ce0122bad1637e028a1d23b27c01b2fdc75cf
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2023-09-24 (Sun, 24 Sep 2023)

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

  Log Message:
  -----------
  [WGSL] Add code generation for textureDimensions
https://bugs.webkit.org/show_bug.cgi?id=261951
rdar://115895843

Reviewed by Dan Glastonbury.

Emit the correct Metal code using `get_(height|width|depth)`

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

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




More information about the webkit-changes mailing list