mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
test(wgsl): note link b/w cross and bad_cross_builtin_args tests
This commit is contained in:
@@ -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.));
|
||||
}
|
||||
|
||||
@@ -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.)",
|
||||
|
||||
Reference in New Issue
Block a user