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