test-runner: Consider wgsl output as validated
The resolver is the closest thing to a validator in this case. Enables `--generate-expected` for WGSL files that were previously marked as SKIP. Change-Id: Id7979ec39571ff52a2beb4255d88e4eb0962b82a Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/54650 Auto-Submit: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: James Price <jrprice@google.com> Reviewed-by: James Price <jrprice@google.com>
This commit is contained in:
parent
74bd7919b0
commit
c2c46a0533
|
@ -400,6 +400,8 @@ func (j job) run(wd, exe, dxcPath, xcrunPath string, generateExpected, generateS
|
||||||
// Can we validate?
|
// Can we validate?
|
||||||
validate := false
|
validate := false
|
||||||
switch j.format {
|
switch j.format {
|
||||||
|
case wgsl:
|
||||||
|
validate = true
|
||||||
case spvasm:
|
case spvasm:
|
||||||
args = append(args, "--validate") // spirv-val is statically linked, always available
|
args = append(args, "--validate") // spirv-val is statically linked, always available
|
||||||
validate = true
|
validate = true
|
||||||
|
|
Loading…
Reference in New Issue