Sign in
cobalt
/
cobalt
/
7d101815a2d9ef008f777d05e29f3a0d35556a06
/
.
/
third_party
/
skia_next
/
third_party
/
skia
/
resources
/
sksl
/
errors
/
InvalidOutParams.sksl
blob: 6194db826b77bd79fe9a626a5b91b33bcd1ae597 [
file
] [
log
] [
blame
]
void
inc1
(
out
float
x
)
{
x
++;
}
void
inc4
(
out
float4 x
)
{
x
+=
half4
(
1
);
}
void
test_a
()
{
inc1
(
0
);
}
void
test_b
()
{
inc4
(
float4
(
0
));
}
void
test_c
()
{
inc1
(
sqrt
(
1
));
}