diff --git a/naga/tests/in/cross.wgsl b/naga/tests/in/cross.wgsl index 5dc16fe9f0..cfdd7622c3 100644 --- a/naga/tests/in/cross.wgsl +++ b/naga/tests/in/cross.wgsl @@ -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.)); } diff --git a/naga/tests/validation.rs b/naga/tests/validation.rs index 748057a894..c7af7b4c01 100644 --- a/naga/tests/validation.rs +++ b/naga/tests/validation.rs @@ -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.)",