Sign in
dawn
/
dawn
/
e9a245e5cc4ab6dc2ecc32d8ebc42332220ade8e
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
unnested
/
mat4x2
/
to_workgroup.wgsl
blob: 2055f76b88d26b01ec2b4eb7d60a1bd04a5f8b1f [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
mat4x2
<f32>
;
var
<workgroup>
w
:
mat4x2
<f32>
;
@compute
@workgroup_size
(
1
)
fn f
()
{
w
=
u
;
w
[
1
]
=
u
[
0
];
w
[
1
]
=
u
[
0
].
yx
;
w
[
0
][
1
]
=
u
[
1
][
0
];
}