Sign in
dawn
/
dawn
/
45cd391d56356c62c08672f6f86fe7fdd30e4e13
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
unnested
/
mat2x2_f16
/
to_private.wgsl.expected.wgsl
blob: b8bd5b6e5d88e3a109430764f9fd7dfafcb3ee35 [
file
] [
log
] [
blame
]
enable f16
;
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
mat2x2
<f16>
;
var
<private>
p
:
mat2x2
<f16>
;
@compute
@workgroup_size
(
1
)
fn f
()
{
p
=
u
;
p
[
1
]
=
u
[
0
];
p
[
1
]
=
u
[
0
].
yx
;
p
[
0
][
1
]
=
u
[
1
][
0
];
}