Sign in
dawn
/
dawn
/
2a7005f4161fe3088544faa6557aaaa85a9cbf77
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
unnested
/
mat2x2_f16
/
to_private.wgsl
blob: 14cee669dd90eb7c3a8d7985fa8958537662bb36 [
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
];
}