Sign in
dawn
/
dawn
/
c223ae26ec19db3a1b3a5ce0c8c19e234037da1d
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
unnested
/
mat4x2_f32
/
to_fn.wgsl
blob: 0e099a9c7f090a5bfa9513b8c7cff4ad474df0cb [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
mat4x2
<f32>
;
fn a
(
m
:
mat4x2
<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
);
}