Sign in
dawn
/
dawn
/
5cc118bde79d652a1cebab96cd8b8f198be8aaa9
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
array
/
mat3x4_f32
/
to_storage.wgsl
blob: 908c09b3c6d779de564fa23a97fe963d9e62e519 [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
array
<
mat3x4
<f32>
,
4
>;
@group
(
0
)
@binding
(
1
)
var
<
storage
,
read_write
>
s
:
array
<
mat3x4
<f32>
,
4
>;
@compute
@workgroup_size
(
1
)
fn f
()
{
s
=
u
;
s
[
1
]
=
u
[
2
];
s
[
1
][
0
]
=
u
[
0
][
1
].
ywxz
;
s
[
1
][
0
].
x
=
u
[
0
][
1
].
x
;
}