gecko-dev/gfx/wgpu/wgpu-core
Dzmitry Malyshau 74b412c826 Bug 1641370 - Add optional SPIR-V shader validation to WebGPU, via naga r=jgilbert
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.

Differential Revision: https://phabricator.services.mozilla.com/D77170
2020-06-22 21:21:18 +00:00
..
src Bug 1641370 - Add optional SPIR-V shader validation to WebGPU, via naga r=jgilbert 2020-06-22 21:21:18 +00:00
Cargo.toml Bug 1641370 - Add optional SPIR-V shader validation to WebGPU, via naga r=jgilbert 2020-06-22 21:21:18 +00:00