Bug 255291

Summary: [WebGPU] MTLVertexDescriptor is not being correctly generated
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   

Description Mike Wyrzykowski 2023-04-11 10:10:54 PDT
Open https://data.runhello.com/j/wgpu/1/

Note the validation error: Error Domain=CompilerError Code=2 "Vertex attribute in_color(1) is missing from the vertex descriptor"

It would seem that:

  static MTLVertexDescriptor *createVertexDescriptor(WGPUVertexState vertexState)

is not correctly implemented. The shader source appears correct.
Comment 1 Radar WebKit Bug Importer 2023-04-11 10:11:15 PDT
<rdar://problem/107889041>
Comment 2 Mike Wyrzykowski 2023-04-18 14:02:10 PDT
Pull request: https://github.com/WebKit/WebKit/pull/12882
Comment 3 EWS 2023-04-18 16:32:54 PDT
Committed 263106@main (7867b54b76dc): <https://commits.webkit.org/263106@main>

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