Sign in
dawn
/
dawn
/
bf586f6dfd24ed223881961f47501c1200e3b6dc
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
array
/
mat2x2
/
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
);
}