dawn-cmake/test/tint/builtins/gen/literal/dot4I8Packed/881e62.wgsl.expected.wgsl
Zhaoming Jiang f8fb94d9e8 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>
2022-07-27 13:27:56 +00:00

22 lines
349 B
WebGPU Shading Language

enable chromium_experimental_dp4a;
fn dot4I8Packed_881e62() {
var res : i32 = dot4I8Packed(1u, 1u);
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
dot4I8Packed_881e62();
return vec4<f32>();
}
@fragment
fn fragment_main() {
dot4I8Packed_881e62();
}
@compute @workgroup_size(1)
fn compute_main() {
dot4I8Packed_881e62();
}