tint: Emitting enable directive for DP4A End-to-End test

This patch modify the test/tint/builtins/gen/gen.wgsl.tmpl to emit
enable directive for dot4I8Packed and dot4U8Packed built-in function.
The expectaion files are added.

Bug: tint:1497
Change-Id: I53331695fe2e6609858e94bc261383ba3028d77c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/96640
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com>
This commit is contained in:
Zhaoming Jiang
2022-07-27 13:27:56 +00:00
committed by Dawn LUCI CQ
parent 6e9a9bf974
commit f8fb94d9e8
30 changed files with 746 additions and 4 deletions

View File

@@ -537,7 +537,7 @@ func (r *resolver) lookupNamed(s *scope, a ast.TemplatedName) (sem.Named, error)
case sem.Named:
return target, nil
default:
panic(fmt.Errorf("Unknown resolved type %T", target))
panic(fmt.Errorf("unknown resolved type %T", target))
}
// ... and that something takes template parameters
// Check the number of templated name template arguments match the number of