[tools]: Add remote-compile

A tool for compiling shaders on a remote machine.
Helpful for combining with `test-all`, so that a single non-windows
machine can validate SPIR-V, MSL and HLSL.

Change-Id: I3a0f70e6e4edd13952eb5dc72fbbed7c495036ee
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/56940
Auto-Submit: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
Ben Clayton
2021-07-08 19:35:53 +00:00
committed by Tint LUCI CQ
parent d09317c0b5
commit 54cfa0b9a1
10 changed files with 1150 additions and 9 deletions

View File

@@ -25,6 +25,7 @@ fi
FILTER="-runtime/references"
FILES="`find src -type f` `find samples -type f`"
FILES+="`find tools/src -type f` `find samples -type f`"
if command -v go &> /dev/null; then
# Go is installed. Run cpplint in parallel for speed wins