Sign in
dawn
/
dawn
/
7e811fe56367a10a98a6f9e3b525af84d1ef52dd
/
.
/
test
/
tint
/
expressions
/
binary
/
mul
/
mat4x2-mat2x4
/
f32.wgsl
blob: bddcda1b04f337835e7a5410c717c976b77966ea [
file
] [
log
] [
blame
]
@compute
@workgroup_size
(
1
)
fn f
()
{
let
a
=
mat4x2
<f32>
(
vec2
<f32>
(-
1.
,
-
2.
),
vec2
<f32>
(-
3.
,
-
4.
),
vec2
<f32>
(-
5.
,
-
6.
),
vec2
<f32>
(-
7.
,
-
8.
));
let
b
=
mat2x4
<f32>
(
vec4
<f32>
(
1.
,
2.
,
3.
,
4.
),
vec4
<f32>
(
5.
,
6.
,
7.
,
8.
));
let
r
:
mat2x2
<f32>
=
a
*
b
;
}