Sign in
dawn
/
dawn
/
c223ae26ec19db3a1b3a5ce0c8c19e234037da1d
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
unnested
/
mat2x3_f16
/
to_storage.wgsl
blob: e14acf254ea0825709efcc9c1937346f6e62a6a2 [
file
] [
log
] [
blame
]
enable f16
;
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
mat2x3
<f16>
;
@group
(
0
)
@binding
(
1
)
var
<
storage
,
read_write
>
s
:
mat2x3
<f16>
;
@compute
@workgroup_size
(
1
)
fn f
()
{
s
=
u
;
s
[
1
]
=
u
[
0
];
s
[
1
]
=
u
[
0
].
zxy
;
s
[
0
][
1
]
=
u
[
1
][
0
];
}