Sign in
cobalt
/
cobalt
/
08336faa599332e3e3bf29b7ad38ef023018b55e
/
.
/
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
));
}