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