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