mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 00:03:29 +00:00
test(wgsl): note link b/w cross
and bad_cross_builtin_args
tests
This commit is contained in:
parent
fcbec57d84
commit
2aa69e1bb2
@ -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.)",
|
||||
|
Loading…
Reference in New Issue
Block a user