Sign in
dawn
/
dawn
/
2a7005f4161fe3088544faa6557aaaa85a9cbf77
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
array
/
mat4x2_f32
/
to_workgroup.wgsl.expected.wgsl
blob: f45b67378b028b9afe1dbedcfadb8b2b7a4e3d6c [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
array
<
mat4x2
<f32>
,
4
>;
var
<workgroup>
w
:
array
<
mat4x2
<f32>
,
4
>;
@compute
@workgroup_size
(
1
)
fn f
()
{
w
=
u
;
w
[
1
]
=
u
[
2
];
w
[
1
][
0
]
=
u
[
0
][
1
].
yx
;
w
[
1
][
0
].
x
=
u
[
0
][
1
].
x
;
}