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