Bug 255291 - [WebGPU] MTLVertexDescriptor is not being correctly generated
Summary: [WebGPU] MTLVertexDescriptor is not being correctly generated
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGPU (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-04-11 10:10 PDT by Mike Wyrzykowski
Modified: 2023-04-18 16:32 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.