[webkit-changes] [WebKit/WebKit] 70bde7: [WebGPUSwift] texture_zero.html crash

nmahendru noreply at github.com
Wed Feb 19 20:04:13 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 70bde7d3bfeb62fda4175f5c9880bcfab9df3b29
      https://github.com/WebKit/WebKit/commit/70bde7d3bfeb62fda4175f5c9880bcfab9df3b29
  Author: Nitin Mahendru <nitinmahendru at apple.com>
  Date:   2025-02-19 (Wed, 19 Feb 2025)

  Changed paths:
    M Source/WebGPU/WebGPU/CommandEncoder.swift

  Log Message:
  -----------
  [WebGPUSwift] texture_zero.html crash
rdar://145184731
https://bugs.webkit.org/show_bug.cgi?id=288042

Reviewed by Mike Wyrzykowski.

For now I am skipping the swift implementation of clearTextureifNeeded
and and callin the C++ version.
That fixes the crash in http/tests/webgpu/webgpu/api/operation/resource_init/texture_zero.html.

Once rdar://145066864 is resolved, I should be able to debug what's wrong with the swift
implementation.

Other changes in the patch are just resulting from commits in ToT which affect the swift build.
There are no bots yet so we don't detect those failures.

* Source/WebGPU/WebGPU/CommandEncoder.swift:
(WebGPU.clearTextureIfNeeded(_:slice:)):
(WebGPU.beginRenderPass(_:)):
(WebGPU.beginComputePass(_:)):

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