Bug 257947

Summary: [WebGPU] GPUAutoLayout should have special designation
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: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Mike Wyrzykowski
Reported 2023-06-11 23:04:29 PDT
[WebGPU] GPUAutoLayout should have special designation Currently it is created like so: m_autoPipelineLayout(createPipelineLayout({ { "autoLayout"_s, }, { } })) and relies on the fact that the implementation of PipelineLayout::isValid is: bool isValid() const { return !m_bindGroupLayouts.isEmpty(); } however a pipeline layout may have zero bind group layouts. So we need a special designation for auto layout.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-06-11 23:04:47 PDT
Mike Wyrzykowski
Comment 2 2023-06-12 22:05:31 PDT
EWS
Comment 3 2023-06-13 14:20:56 PDT
Committed 265134@main (fc7310ff1cab): <https://commits.webkit.org/265134@main> Reviewed commits have been landed. Closing PR #14905 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.