dawn-cmake/test
Arman Uguray d13982ff2e [msl-writer] Support MSL compiler validation in unit tests
The MSL writer GTest harness (TestHelper) now provides a function to
invoke the XCode SDK Metal compiler for the MSL output of a given
tint::Program.

The tint_unittests binary now provides the `--validate-msl` and
`--xcrun-path` command-line flags to optionally enable MSL validation
and to configure its path.

The MSL validation logic itself is conditionally compiled based on the
TINT_BUILD_MSL_WRITER define. The TINT_BUILD_* flags were previously
not propagated to the GTest binary which this CL addresses by linking
the common/public tint configs when building the tint_unittests_main
target.

Bug: tint:535
Fixed: tint:696
Change-Id: I08b1c36ba59c606ef6cffa5fa5454fd8cf8b035d
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/45800
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Arman Uguray <armansito@chromium.org>
2021-04-14 15:36:58 +00:00
..
BUILD.gn [msl-writer] Support MSL compiler validation in unit tests 2021-04-14 15:36:58 +00:00
compute_boids.wgsl wgsl: Deprecate '-> void' on functions 2021-04-08 14:39:47 +00:00
cube.wgsl Update Tint samples to new entry point IO syntax 2021-04-06 18:08:47 +00:00
function.wgsl wgsl: Deprecate '-> void' on functions 2021-04-08 14:39:47 +00:00
simple.wgsl wgsl: Deprecate '-> void' on functions 2021-04-08 14:39:47 +00:00
test-all.sh Add test/test-all.sh 2021-03-17 18:49:03 +00:00
triangle.wgsl wgsl: Deprecate 'const' for 'let' 2021-04-08 15:46:17 +00:00