Sign in
dawn
/
dawn
/
2a7005f4161fe3088544faa6557aaaa85a9cbf77
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
array
/
mat2x2_f32
/
to_private.wgsl
blob: 29bc6155347da2a6284be0a940d4b7c6bc8fa996 [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
array
<
mat2x2
<f32>
,
4
>;
var
<private>
p
:
array
<
mat2x2
<f32>
,
4
>;
@compute
@workgroup_size
(
1
)
fn f
()
{
p
=
u
;
p
[
1
]
=
u
[
2
];
p
[
1
][
0
]
=
u
[
0
][
1
].
yx
;
p
[
1
][
0
].
x
=
u
[
0
][
1
].
x
;
}