Sign in
dawn
/
dawn
/
55ceebec1e92b73401bb6da5f9c813dee6a9266f
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
array
/
mat3x3_f32
/
to_storage.wgsl
blob: cc5a3f1ef3c38f85bbd9a1aee773f73749ee4eaf [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
array
<
mat3x3
<f32>
,
4
>;
@group
(
0
)
@binding
(
1
)
var
<
storage
,
read_write
>
s
:
array
<
mat3x3
<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
;
}