[webkit-changes] [WebKit/WebKit] 85417a: [WGSL] Not all types of workgroup variables are ze...

Tadeu Zagallo noreply at github.com
Mon Feb 10 11:30:24 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 85417a85b15c62856b4845a73735d46bb19b3579
      https://github.com/WebKit/WebKit/commit/85417a85b15c62856b4845a73735d46bb19b3579
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2025-02-10 (Mon, 10 Feb 2025)

  Changed paths:
    A LayoutTests/fast/webgpu/fuzz-143809798-expected.txt
    A LayoutTests/fast/webgpu/fuzz-143809798.html
    M Source/WebGPU/WGSL/GlobalVariableRewriter.cpp

  Log Message:
  -----------
  [WGSL] Not all types of workgroup variables are zero initialized
https://bugs.webkit.org/show_bug.cgi?id=287416
rdar://143809798

Reviewed by Mike Wyrzykowski.

All workgroup variables were zero initialized empty initializer, but apparently
that wasn't enough to actually zero the underlying memory in Metal, and it requires
a separate assignment to zero it.

* LayoutTests/fast/webgpu/fuzz-143809798-expected.txt: Added.
* LayoutTests/fast/webgpu/fuzz-143809798.html: Added.
* Source/WebGPU/WGSL/GlobalVariableRewriter.cpp:
(WGSL::RewriteGlobalVariables::storeInitialValue):

Canonical link: https://commits.webkit.org/290174@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