Sign in
dawn
/
dawn
/
deb2ec978575c5ead0ceeeb20b216a2c51c99578
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
array
/
mat2x2_f32
/
to_builtin.wgsl
blob: db6adf2146433cf3e29ef97dc95528908b0ae62d [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
array
<
mat2x2
<f32>
,
4
>;
@compute
@workgroup_size
(
1
)
fn f
()
{
let
t
=
transpose
(
u
[
2
]);
let
l
=
length
(
u
[
0
][
1
].
yx
);
let
a
=
abs
(
u
[
0
][
1
].
yx
.
x
);
}