Sign in
dawn
/
dawn
/
fb981c813468be14c415c0de132ad7c9f8b08aef
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
array
/
mat2x4_f16
/
to_builtin.wgsl.expected.wgsl
blob: 981ed125c55f56213eb7c4bed84085acac981ec2 [
file
] [
log
] [
blame
]
enable f16
;
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
array
<
mat2x4
<f16>
,
4
>;
@compute
@workgroup_size
(
1
)
fn f
()
{
let
t
=
transpose
(
u
[
2
]);
let
l
=
length
(
u
[
0
][
1
].
ywxz
);
let
a
=
abs
(
u
[
0
][
1
].
ywxz
.
x
);
}