Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 72e6208115789ac22f8455f19f92c367fa5eeb93
      
https://github.com/WebKit/WebKit/commit/72e6208115789ac22f8455f19f92c367fa5eeb93
  Author: Tadeu Zagallo <[email protected]>
  Date:   2026-06-25 (Thu, 25 Jun 2026)

  Changed paths:
    M 
LayoutTests/http/tests/webgpu/webgpu/shader/execution/memory_layout-expected.txt
    M LayoutTests/platform/mac-wk2/TestExpectations
    M Source/WebGPU/WGSL/GlobalVariableRewriter.cpp
    M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp
    M Source/WebGPU/WGSL/WGSLShaderModule.h

  Log Message:
  -----------
  [WebGPU] shader,execution,memory_layout:* is failing
https://bugs.webkit.org/show_bug.cgi?id=317757
rdar://180530543

Reviewed by Mike Wyrzykowski.

The zero initialization of structs wasn't zeroing the padding bytes.

* 
LayoutTests/http/tests/webgpu/webgpu/shader/execution/memory_layout-expected.txt:
* LayoutTests/platform/mac-wk2/TestExpectations:
* Source/WebGPU/WGSL/GlobalVariableRewriter.cpp:
(WGSL::RewriteGlobalVariables::storeInitialValue):
* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
(WGSL::Metal::FunctionDefinitionWriter::emitNecessaryHelpers):
(WGSL::Metal::FunctionDefinitionWriter::visit):
* Source/WebGPU/WGSL/WGSLShaderModule.h:
(WGSL::ShaderModule::usesZeroWorkgroupVar const):
(WGSL::ShaderModule::setUsesZeroWorkgroupVar):

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



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

Reply via email to