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