Sign in
dawn
/
dawn
/
c94696afdd69e12498cc026d7b47178cd0c68721
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
unnested
/
mat3x2
/
to_fn.wgsl
blob: e5391c5685883038255764f02b636435da2a0a0f [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
mat3x2
<f32>
;
fn a
(
m
:
mat3x2
<f32>
)
{}
fn b
(
v
:
vec2
<f32>
)
{}
fn c
(
f
:
f32
)
{}
@compute
@workgroup_size
(
1
)
fn f
()
{
a
(
u
);
b
(
u
[
1
]);
b
(
u
[
1
].
yx
);
c
(
u
[
1
].
x
);
c
(
u
[
1
].
yx
.
x
);
}