Bug 278225

Summary: REGRESSION: WebGPU in Safari Technology Preview 201 renders transparent pixels as opaque black
Product: WebKit Reporter: Gabriele Cirulli <gabriele>
Component: WebGPUAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Major CC: mwyrzykowski, tzagallo, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Mac (Apple Silicon)   
OS: macOS 14   
Attachments:
Description Flags
Left: Safari 17.5, right: Safari Technology Preview 201 none

Gabriele Cirulli
Reported 2024-08-16 01:30:36 PDT
Created attachment 472188 [details] Left: Safari 17.5, right: Safari Technology Preview 201 When using Safari Technology Preview 201 on macOS 14.5 on a M2 MacBook Air, transparent pixels in an image rendered using WebGPU renders as opaque black. The provided demo has been built using Pixi.js which offers both WebGL and WebGPU backends. The WebGL backend is unaffected. This is considered a regression due to the WebGPU backend rendering correctly in the current Safari version (Version 17.5 (19618.2.12.11.6)) on macOS 14.5. I have not tested the copy of Safari provided with macOS 15 Sequoia. Steps to reproduce: 1. Clone https://github.com/gabrielecirulli/pixi-alpha-issues 2. Browse into the directory in terminal 3. Run `pnpm install` (`npm` may work too) 4. Run `pnpm run dev` 5. Browse to `localhost:5173` using Safari 17.5 and Safari Technology Preview 201 6. Use the provided checkbox to switch between WebGL and WebGPU Expected result: Transparency renders correctly (the background displays as blue on all canvas samples) Actual result: The background displays as black on all canvas samples Note that this issue is only present in Safari Technology Preview and this sample renders correctly in all other browsers including Chrome Canary (Version 129.0.6660.0 (Official Build) canary (arm64))
Attachments
Left: Safari 17.5, right: Safari Technology Preview 201 (723.70 KB, image/png)
2024-08-16 01:30 PDT, Gabriele Cirulli
no flags
Radar WebKit Bug Importer
Comment 1 2024-08-16 10:50:57 PDT
Mike Wyrzykowski
Comment 2 2024-08-16 13:06:46 PDT
Fairly certain this is somewhat due to https://commits.webkit.org/279714@main
Mike Wyrzykowski
Comment 3 2024-08-16 14:04:48 PDT
Note You need to log in before you can comment on or make changes to this bug.