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