Sign in
dawn
/
dawn
/
55ceebec1e92b73401bb6da5f9c813dee6a9266f
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
array
/
mat2x2_f32
/
to_fn.wgsl
blob: 3bb9cb8005139e08b8f51952fde7dbbfe5de6f92 [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
array
<
mat2x2
<f32>
,
4
>;
fn a
(
a
:
array
<
mat2x2
<f32>
,
4
>)
{}
fn b
(
m
:
mat2x2
<f32>
)
{}
fn c
(
v
:
vec2
<f32>
)
{}
fn d
(
f
:
f32
)
{}
@compute
@workgroup_size
(
1
)
fn f
()
{
a
(
u
);
b
(
u
[
1
]);
c
(
u
[
1
][
0
].
yx
);
d
(
u
[
1
][
0
].
yx
.
x
);
}