test(wgsl): note link b/w cross and bad_cross_builtin_args tests

This commit is contained in:
Erich Gubler 2024-08-28 17:28:18 -04:00
parent fcbec57d84
commit 2aa69e1bb2
2 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
// NOTE: invalid combinations are tested in the `validation::bad_cross_builtin_args` test.
@compute @workgroup_size(1) fn main() {
let a = cross(vec3(0., 1., 2.), vec3(0., 1., 2.));
}

View File

@ -264,6 +264,7 @@ fn emit_workgroup_uniform_load_result() {
#[cfg(feature = "wgsl-in")]
#[test]
fn bad_cross_builtin_args() {
// NOTE: Things we expect to actually compile are in the `cross` snapshot test.
let cases = [
(
"vec2(0., 1.)",