[webkit-changes] [WebKit/WebKit] 51530a: [WGSL] textureBarrier is not implemented

mwyrzykowski noreply at github.com
Fri Feb 16 10:22:46 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 51530a8c2de28c96031a381300ce9972989b87f0
      https://github.com/WebKit/WebKit/commit/51530a8c2de28c96031a381300ce9972989b87f0
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M LayoutTests/http/tests/webgpu/webgpu/api/operation/storage_texture/read_write-expected.txt
    M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp
    M Source/WebGPU/WGSL/TypeDeclarations.rb

  Log Message:
  -----------
  [WGSL] textureBarrier is not implemented
https://bugs.webkit.org/show_bug.cgi?id=269412
<radar://122977866>

Reviewed by Tadeu Zagallo.

textureBarrier(), textureLoad(), and textureStore() were recently
updated to support read and read_write storage textures.

Add this to the WGSL compiler.

This allows the newly added storage_texture/read_write.html to pass, so add
passing expectations for this test as well.

* LayoutTests/http/tests/webgpu/webgpu/api/operation/storage_texture/read_write-expected.txt:
* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
(WGSL::Metal::emitTextureBarrier):
(WGSL::Metal::FunctionDefinitionWriter::visit):
* Source/WebGPU/WGSL/TypeDeclarations.rb:

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list