Validate WebGPU shader requirements against the pipelines
Categories
(Core :: Graphics: WebGPU, task)
Tracking
()
People
(Reporter: kvark, Assigned: kvark)
References
Details
Attachments
(1 file)
We have to match shader requirements against the pipelines in WebGPU in order to implement the spec. The current plan is to do so by integrating the experimental naga library.
Assignee | ||
Comment 1•5 years ago
|
||
This change attempts to parse the incoming SPIR-V shader modules with
Naga SPIR-V front-end. It's not complete, but it returns an Error if it's unable to parse,
in which case we just continue without the validation (for now).
If it succeeds, we extract the reflection information from it, and use it for the pipeline.
This is just a start. More states would need to be validated, and SPIR-V front-end needs more work.
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Keeping this open since we'll need multiple follow-ups to get this truly addressed.
Comment 4•5 years ago
|
||
bugherder |
Comment 5•4 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:kvark, maybe it's time to close this bug?
Assignee | ||
Comment 6•4 years ago
|
||
Now that https://phabricator.services.mozilla.com/D98542 has landed, we can indeed close this.
More work will be needed for validation, should be tracked in exact CTS tests separately.
Updated•4 years ago
|
Description
•