[webkit-changes] [WebKit/WebKit] 19c290: [WGSL] texture_external should use float textures

Tadeu Zagallo noreply at github.com
Wed May 24 05:12:34 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 19c290d1054233c1f096a5dce359389cfd3d4723
      https://github.com/WebKit/WebKit/commit/19c290d1054233c1f096a5dce359389cfd3d4723
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp

  Log Message:
  -----------
  [WGSL] texture_external should use float textures
https://bugs.webkit.org/show_bug.cgi?id=257221
rdar://109731852

Reviewed by Myles C. Maxfield.

Operations on texture_external return vectors of f32, so the underlying
textures should use float.

* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
(WGSL::Metal::FunctionDefinitionWriter::write):
(WGSL::Metal::FunctionDefinitionWriter::visit):

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




More information about the webkit-changes mailing list