Skip to content

spirv: Add Control Flow tests from Tint

The repository https://github.com/dneto0/spirv-samples contains various SPIR-V tests used to validate Tint (a WGSL compiler).

This MR also includes a small SPIR-V Assembler suitable for handling these tests as well as other tests we may want to add. The assembler is not complete, but can be improve as tests require. The idea here was to avoid pulling a build (and/or runtime) dependency for our unit tests -- which we would get if trying to use SPIRV-Tools.

Merge request reports