Bug 263099

Summary: [WebGPU] A RenderBundle with several calls to setPipeline may not be built correctly
Product: WebKit Reporter: Mike Wyrzykowski <mwyrzykowski>
Component: WebGPUAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Description Mike Wyrzykowski 2023-10-12 18:05:50 PDT
[WebGPU] A RenderBundle with several calls to setPipeline may not be built correctly

The reason is we can change the pipeline state via -[MTLIndirectRenderCommand setRenderPipelineState:] but not the depth / stencil state.

A website may call GPURenderBundleEncoder.setPipelineState() multiple times with different depth / stencil states and I think we need to create a new ICB to handle that correctly.
Comment 1 Radar WebKit Bug Importer 2023-10-12 18:06:36 PDT
<rdar://problem/116893300>
Comment 2 Mike Wyrzykowski 2023-10-13 11:35:14 PDT
Pull request: https://github.com/WebKit/WebKit/pull/19057
Comment 3 EWS 2023-10-26 14:23:05 PDT
Committed 269826@main (17f80e19eb23): <https://commits.webkit.org/269826@main>

Reviewed commits have been landed. Closing PR #19057 and removing active labels.