Sign in
dawn
/
dawn
/
7efe4860c97b491c8bb2480ca4fcff3f8372cab9
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
array
/
mat3x3_f32
/
to_private.wgsl
blob: 133e0e5e8ee03831a4f686aa02251a0d2d15908c [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
array
<
mat3x3
<f32>
,
4
>;
var
<private>
p
:
array
<
mat3x3
<f32>
,
4
>;
@compute
@workgroup_size
(
1
)
fn f
()
{
p
=
u
;
p
[
1
]
=
u
[
2
];
p
[
1
][
0
]
=
u
[
0
][
1
].
zxy
;
p
[
1
][
0
].
x
=
u
[
0
][
1
].
x
;
}