Sign in
dawn
/
dawn
/
d00663d882df7138e9fb3655b829cdcad78a11c4
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
unnested
/
mat2x3_f16
/
to_private.wgsl
blob: 4fa4b5a8734e58862988445f9f0c1c6d1cb361b3 [
file
] [
log
] [
blame
]
enable f16
;
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
mat2x3
<f16>
;
var
<private>
p
:
mat2x3
<f16>
;
@compute
@workgroup_size
(
1
)
fn f
()
{
p
=
u
;
p
[
1
]
=
u
[
0
];
p
[
1
]
=
u
[
0
].
zxy
;
p
[
0
][
1
]
=
u
[
1
][
0
];
}