这是indexloc提供的服务,不要输入任何密码
Skip to content

Expose WGSL errors in the API #2308

@kainino0x

Description

@kainino0x

https://gpuweb.github.io/gpuweb/wgsl/#processing-errors

TODO: Update the WebGPU spec, referring back to the three kinds of errors defined here.

One particular aspect is figuring out how "uncategorized errors" are exposed. Is it useful to expose them from createShaderModule? If not, errors occurring in shader creation can be stored and returned later in createPipeline. And should they be exposed to the error scope as a "validation" error or something else?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions