Sign in
dawn
/
dawn
/
c223ae26ec19db3a1b3a5ce0c8c19e234037da1d
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
array
/
mat4x4_f16
/
to_private.wgsl
blob: ea2580f540df3b64b74aa37a096404a630850fa0 [
file
] [
log
] [
blame
]
enable f16
;
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
array
<
mat4x4
<f16>
,
4
>;
var
<private>
p
:
array
<
mat4x4
<f16>
,
4
>;
@compute
@workgroup_size
(
1
)
fn f
()
{
p
=
u
;
p
[
1
]
=
u
[
2
];
p
[
1
][
0
]
=
u
[
0
][
1
].
ywxz
;
p
[
1
][
0
].
x
=
u
[
0
][
1
].
x
;
}