[webkit-changes] [WebKit/WebKit] 5f97d3: [WGSL] Add code generation for textureStore

Tadeu Zagallo noreply at github.com
Fri Sep 29 01:03:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5f97d30ad96f61d01c88177d71783bf502752629
      https://github.com/WebKit/WebKit/commit/5f97d30ad96f61d01c88177d71783bf502752629
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2023-09-29 (Fri, 29 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 textureStore
https://bugs.webkit.org/show_bug.cgi?id=262301
rdar://116178725

Reviewed by Mike Wyrzykowski.

Convert textureStore(texture, ...) into texture.write(...)

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

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




More information about the webkit-changes mailing list