Sign in
dawn
/
dawn
/
55ceebec1e92b73401bb6da5f9c813dee6a9266f
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
array
/
mat2x3_f32
/
to_private.wgsl
blob: 89182416b51cde48b44058efc599ef2d7cfeca5e [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
array
<
mat2x3
<f32>
,
4
>;
var
<private>
p
:
array
<
mat2x3
<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
;
}