Sign in
dawn
/
dawn
/
2a7005f4161fe3088544faa6557aaaa85a9cbf77
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
unnested
/
mat2x2_f16
/
to_fn.wgsl
blob: 6a59efbcf3b5967187df8e26593de5875acbd13d [
file
] [
log
] [
blame
]
enable f16
;
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
mat2x2
<f16>
;
fn a
(
m
:
mat2x2
<f16>
)
{}
fn b
(
v
:
vec2
<f16>
)
{}
fn c
(
f
:
f16
)
{}
@compute
@workgroup_size
(
1
)
fn f
()
{
a
(
u
);
b
(
u
[
1
]);
b
(
u
[
1
].
yx
);
c
(
u
[
1
].
x
);
c
(
u
[
1
].
yx
.
x
);
}