Bug 313159

Summary: WebGPU doesn't show result with direct texture usage and multisampled resolve
Product: WebKit Reporter: Gregg Tavares <gman>
Component: WebGPUAssignee: Mike Wyrzykowski <mwyrzykowski>
Status: RESOLVED FIXED    
Severity: Normal CC: mwyrzykowski, tzagallo, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Mac (Apple Silicon)   
OS: macOS 26   
Attachments:
Description Flags
repo none

Gregg Tavares
Reported 2026-04-23 12:29:41 PDT
Created attachment 479272 [details] repo Run the attached sample. You should see a flashing red screen. Works in Firefox and Chrome,not in Safari. There are no validation errors The sample uses direct texture vs texture views. In other words encoder.beginPass({ colorAttachments: [ { view: someMultiSampledTexture, // Not a GPUTextureView resolveTarget: someTexture, // Not a GPUTextureView ... }, ], });
Attachments
repo (2.88 KB, text/html)
2026-04-23 12:29 PDT, Gregg Tavares
no flags
Mike Wyrzykowski
Comment 1 2026-04-23 13:37:44 PDT
_MTLDebugValidateRenderPassDescriptorAndTrackAttachments:370: failed assertion `RenderPass Descriptor Validation MTLRenderPassAttachmentDescriptor resolveTexture must have storeAction of MTLStoreActionMultisampleResolve, MTLStoreActionStoreAndMultisampleResolve or MTLStoreActionUnknown
Mike Wyrzykowski
Comment 2 2026-04-23 13:40:49 PDT
Thank you for the repro Gregg
Radar WebKit Bug Importer
Comment 3 2026-04-23 13:40:55 PDT
Mike Wyrzykowski
Comment 4 2026-04-23 13:51:10 PDT
EWS
Comment 5 2026-04-24 03:45:51 PDT
Committed 311938@main (626105188e7e): <https://commits.webkit.org/311938@main> Reviewed commits have been landed. Closing PR #63459 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.